mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-29 04:04:45 +00: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:
parent
8553f06298
commit
68821f0814
@ -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,
|
||||
|
@ -65,7 +65,7 @@ fn make_examples_text(program_name: &str) -> String {
|
||||
|
||||
- Query the agent environment:
|
||||
|
||||
$ {program} connect --server-address "{vsock_server_address}" --cmd GuestDetails
|
||||
$ {program} connect --server-address "{vsock_server_address}" --cmd GetGuestDetails
|
||||
|
||||
- List all available (built-in and Kata Agent API) commands:
|
||||
|
||||
@ -85,7 +85,7 @@ fn make_examples_text(program_name: &str) -> String {
|
||||
|
||||
- Query guest details forever:
|
||||
|
||||
$ {program} connect --server-address "{vsock_server_address}" --repeat -1 --cmd GuestDetails
|
||||
$ {program} connect --server-address "{vsock_server_address}" --repeat -1 --cmd GetGuestDetails
|
||||
|
||||
- Send a 'SIGUSR1' signal to a container process:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user