mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-18 15:28:10 +00:00
kata-ctl: fix outdated comments
MgmnClient can also tolerate short sandbox id. Signed-off-by: Liu Bo <liub.liubo@gmail.com>
This commit is contained in:
@@ -358,7 +358,6 @@ fn get_server_socket(sandbox_id: &str) -> anyhow::Result<String> {
|
||||
}
|
||||
|
||||
fn do_run_exec(sandbox_id: &str, dbg_console_vport: u32) -> anyhow::Result<()> {
|
||||
// sandbox_id MUST be a long ID.
|
||||
let server_url = get_server_socket(sandbox_id).context("get debug console socket URL")?;
|
||||
if server_url.is_empty() {
|
||||
return Err(anyhow!("server url is empty."));
|
||||
|
Reference in New Issue
Block a user