Skip to content

Commit

Permalink
fixing compare
Browse files Browse the repository at this point in the history
  • Loading branch information
akshya96 committed Jan 20, 2022
1 parent 97607c2 commit 5c5604d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion command/base_flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ func (i *uintValue) Set(s string) error {
if err != nil {
return err
}
if v > 0 && v <= uint64(MaxUint) {
if v >= 0 && v <= uint64(MaxUint) {
*i.target = uint(v)
return nil
}
Expand Down

0 comments on commit 5c5604d

Please sign in to comment.