Skip to content

Commit

Permalink
Address review comment
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Sabaini <[email protected]>
  • Loading branch information
sabaini committed Feb 14, 2024
1 parent 03761d8 commit 1363ad8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion microceph/common/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ func IsMounted(device string) (bool, error) {
return true, nil
}
}
if err := scanner.Err(); err != nil {
err = scanner.Err()
if err != nil {
return false, err
}
return false, nil
Expand Down

0 comments on commit 1363ad8

Please sign in to comment.