Merge pull request #3040 from wllenyj/rework-agent-ctl

CCv0|agent-ctl: fix compile error
This commit is contained in:
Fabiano Fidêncio 2021-11-15 13:32:01 +01:00 committed by GitHub
commit d22706c060
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2067,9 +2067,9 @@ fn agent_cmd_pull_image(
let ctx = clone_context(ctx);
let image = utils::get_option("image", options, args);
let cid = utils::get_option("cid", options, args);
let source_creds = utils::get_option("source_creds", options, args);
let image = utils::get_option("image", options, args)?;
let cid = utils::get_option("cid", options, args)?;
let source_creds = utils::get_option("source_creds", options, args)?;
req.set_image(image);
req.set_container_id(cid);