Skip to content

Commit

Permalink
Rename the variable.
Browse files Browse the repository at this point in the history
Co-authored-by: Eric Swanson <[email protected]>
  • Loading branch information
vincent-dfinity and ericswanson-dfinity authored Nov 26, 2024
1 parent 02ad44e commit 55c040d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dfx/src/lib/diagnosis.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ pub fn diagnose(err: &AnyhowError) -> Diagnosis {
}
}

if let Some(_create_canister_err) = err.downcast_ref::<CreateCanisterError>() {
if insufficient_cycles(_create_canister_err) {
if let Some(create_canister_err) = err.downcast_ref::<CreateCanisterError>() {
if insufficient_cycles(create_canister_err) {
return diagnose_insufficient_cycles();
}
}
Expand Down

0 comments on commit 55c040d

Please sign in to comment.