Skip to content

Commit

Permalink
fix: fixed cargo clippy warinings (omnect#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
JanZachmann authored Apr 3, 2024
1 parent a3ffa61 commit 0e0d612
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions src/device_update.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(())
Expand Down Expand Up @@ -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}");

Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)?,
Expand Down

0 comments on commit 0e0d612

Please sign in to comment.