Skip to content

Commit

Permalink
Fix thinko in --force logic
Browse files Browse the repository at this point in the history
Signed-off-by: Chi Wai Chan <[email protected]>
  • Loading branch information
chanchiwai-ray committed Jan 6, 2025
1 parent 01d8064 commit 7902e4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion microceph/ceph/operations.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func RunOperations(name string, operations []Operation, dryRun, force bool) erro
logger.Errorf("%v", err)
// Skip the error if forced
if force {
return nil
continue
}
return err
}
Expand Down

0 comments on commit 7902e4c

Please sign in to comment.