mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-23 18:21:27 +00:00
Merge pull request #3040 from wllenyj/rework-agent-ctl
CCv0|agent-ctl: fix compile error
This commit is contained in:
commit
d22706c060
@ -2067,9 +2067,9 @@ fn agent_cmd_pull_image(
|
|||||||
|
|
||||||
let ctx = clone_context(ctx);
|
let ctx = clone_context(ctx);
|
||||||
|
|
||||||
let image = utils::get_option("image", options, args);
|
let image = utils::get_option("image", options, args)?;
|
||||||
let cid = utils::get_option("cid", options, args);
|
let cid = utils::get_option("cid", options, args)?;
|
||||||
let source_creds = utils::get_option("source_creds", options, args);
|
let source_creds = utils::get_option("source_creds", options, args)?;
|
||||||
|
|
||||||
req.set_image(image);
|
req.set_image(image);
|
||||||
req.set_container_id(cid);
|
req.set_container_id(cid);
|
||||||
|
Loading…
Reference in New Issue
Block a user