diff --git a/main.go b/main.go index 2902781..42261dd 100644 --- a/main.go +++ b/main.go @@ -43,7 +43,7 @@ func main() { logError("Namespace is mandatory") os.Exit(1) } - if labelToChangeValue == "" && goalOfOperationIsToRemoveLabel == false { + if labelToChangeValue == "" && !goalOfOperationIsToRemoveLabel { logError("label value is mandatory") os.Exit(1) }