Skip to content

Commit

Permalink
Minor logic fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dbason committed May 22, 2023
1 parent 67fa4c0 commit 1ebbbe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configmap-reload.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func main() {
os.Exit(1)
}

if len(webhook) < 1 || len(process) < 1 {
if len(webhook) < 1 && len(process) < 1 {
log.Println("Missing: webhook-url or process")
log.Println()
flag.Usage()
Expand Down

0 comments on commit 1ebbbe0

Please sign in to comment.