mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-26 07:22:20 +00:00
Merge pull request #10655 from liubogithub/patch-1
kata-ctl: fix outdated comments
This commit is contained in:
commit
02b5fa15ac
@ -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<()> {
|
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")?;
|
let server_url = get_server_socket(sandbox_id).context("get debug console socket URL")?;
|
||||||
if server_url.is_empty() {
|
if server_url.is_empty() {
|
||||||
return Err(anyhow!("server url is empty."));
|
return Err(anyhow!("server url is empty."));
|
||||||
|
Loading…
Reference in New Issue
Block a user