Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
pei-mysten committed Jun 8, 2024
1 parent 86b919d commit 25e73c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/suiop-cli/src/cli/ci/image.rs
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ fn generate_image_request(token: &str, action: &ImageAction) -> reqwest::Request
}
ImageAction::Query { repo_name, limit } => {
let req = client.get(full_url);
let limit = limit.clone().unwrap_or(10);
let limit = (*limit).unwrap_or(10);
let query = QueryBuildsRequest {
repo_name: repo_name.clone(),
limit,
Expand Down

0 comments on commit 25e73c6

Please sign in to comment.