mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-19 07:14:22 +01:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user