Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
r-birkner committed Jun 5, 2024
1 parent 1c7d2f5 commit b773435
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions rs/cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,10 @@ async fn async_main() -> Result<(), anyhow::Error> {
runner_instance
.ic_admin
.propose_run(
ic_admin::ProposeCommand::DeployGuestosToSomeApiBoundaryNodes { nodes, version },
ic_admin::ProposeCommand::DeployGuestosToSomeApiBoundaryNodes {
nodes: nodes.to_vec(),
version: version.to_string(),
},
ic_admin::ProposeOptions {
title: Some(format!("Update {} API boundary node(s) to {version}", nodes.clone().len())),
summary: Some(format!("Update {} API boundary node(s) to {version}", nodes.clone().len())),
Expand All @@ -375,7 +378,10 @@ async fn async_main() -> Result<(), anyhow::Error> {
runner_instance
.ic_admin
.propose_run(
ic_admin::ProposeCommand::AddApiBoundaryNodes { nodes, version },
ic_admin::ProposeCommand::AddApiBoundaryNodes {
nodes: nodes.to_vec(),
version: version.to_string(),
},
ic_admin::ProposeOptions {
title: Some(format!("Add {} API boundary node(s)", nodes.clone().len())),
summary: Some(format!("Add {} API boundary node(s)", nodes.clone().len())),
Expand All @@ -390,7 +396,7 @@ async fn async_main() -> Result<(), anyhow::Error> {
runner_instance
.ic_admin
.propose_run(
ic_admin::ProposeCommand::RemoveApiBoundaryNodes { nodes },
ic_admin::ProposeCommand::RemoveApiBoundaryNodes { nodes: nodes.to_vec() },
ic_admin::ProposeOptions {
title: Some(format!("Remove {} API boundary node(s)", nodes.clone().len())),
summary: Some(format!("Remove {} API boundary node(s)", nodes.clone().len())),
Expand Down

0 comments on commit b773435

Please sign in to comment.