Merge pull request #10655 from liubogithub/patch-1

kata-ctl: fix outdated comments
This commit is contained in:
Xuewei Niu 2024-12-16 13:11:25 +08:00 committed by GitHub
commit 02b5fa15ac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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."));