Skip to content

Commit

Permalink
Fix label selector flag
Browse files Browse the repository at this point in the history
Refacto commit from 3h agos broke passing that value from cli flags.
  • Loading branch information
bpineau committed Dec 1, 2020
1 parent 1403abe commit 00b59b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func init() {
bindPFlag("exclude-having-owner-ref", "exclude-having-owner-ref")

RootCmd.PersistentFlags().StringVarP(&selector, "filter", "l", "", "Label selector. Select only objects matching the label")
bindPFlag("selector", "selector")
bindPFlag("filter", "filter")

RootCmd.PersistentFlags().IntVarP(&healthP, "healthcheck-port", "p", 0, "Port for answering healthchecks on /health url")
bindPFlag("healthcheck-port", "healthcheck-port")
Expand Down

0 comments on commit 00b59b7

Please sign in to comment.