tools: Rename agent-ctl command to GetGuestDetails

Rename the `GuestDetails` command to `GetGuestDetails` to match the
actual agent API name.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
This commit is contained in:
James O. D. Hunt
2020-10-15 17:05:19 +01:00
parent 8553f06298
commit 68821f0814
2 changed files with 5 additions and 5 deletions

View File

@@ -106,9 +106,9 @@ static AGENT_CMDS: &'static [AgentCmd] = &[
fp: agent_cmd_container_exec,
},
AgentCmd {
name: "GuestDetails",
name: "GetGuestDetails",
st: ServiceType::Agent,
fp: agent_cmd_sandbox_guest_details,
fp: agent_cmd_sandbox_get_guest_details,
},
AgentCmd {
name: "ListInterfaces",
@@ -940,7 +940,7 @@ fn agent_cmd_container_start(
Ok(())
}
fn agent_cmd_sandbox_guest_details(
fn agent_cmd_sandbox_get_guest_details(
cfg: &Config,
client: &AgentServiceClient,
_health: &HealthClient,