diff --git a/Cargo.lock b/Cargo.lock index cf2982f..1ba6dfa 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2442,7 +2442,7 @@ dependencies = [ [[package]] name = "omnect-cli" -version = "0.21.0" +version = "0.21.1" dependencies = [ "actix-web", "anyhow", diff --git a/Cargo.toml b/Cargo.toml index 3da1feb..bdaa497 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,7 @@ license = "MIT OR Apache-2.0" name = "omnect-cli" readme = "README.md" repository = "https://github.com/omnect/omnect-cli" -version = "0.21.0" +version = "0.21.1" [dependencies] actix-web = "4.4" diff --git a/src/device_update.rs b/src/device_update.rs index 1770c33..674e266 100644 --- a/src/device_update.rs +++ b/src/device_update.rs @@ -268,7 +268,7 @@ pub async fn import_update( debug!("import update: {import_update}"); - let import_update_response = client.import_update(&instance_id, import_update).await?; + let import_update_response = client.import_update(instance_id, import_update).await?; info!("Result of import update: {:?}", &import_update_response); Ok(()) @@ -298,7 +298,7 @@ pub async fn remove_update( debug!("remove update"); let remove_update_response = client - .delete_update(&instance_id, &provider, &name, &version) + .delete_update(instance_id, provider, name, version) .await?; info!("Result of remove update: {remove_update_response}"); diff --git a/src/lib.rs b/src/lib.rs index 67235f0..a4c23cb 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -198,7 +198,7 @@ pub fn run() -> Result<()> { &client_id, &client_secret, &instance_id, - &&device_update_endpoint_url, + &device_update_endpoint_url, &blob_storage_account, &blob_storage_key, )?,