Skip to content

Commit 238aa4b

Browse files
committed
Fixing the range check
1 parent dff66ed commit 238aa4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cmdutil/flags/flags.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,5 @@ func EnableOutputFlagCompletion(cmd *cobra.Command) {
3737
}
3838

3939
func IsInputInRange(input int32) bool {
40-
return input >= 0
40+
return input > 0
4141
}

0 commit comments

Comments
 (0)