Skip to content

Commit

Permalink
fix flag type for operator in search (#1136)
Browse files Browse the repository at this point in the history
Signed-off-by: Fabian Kammel <fk@edgeless.systems>

Signed-off-by: Fabian Kammel <fk@edgeless.systems>
  • Loading branch information
datosh committed Oct 19, 2022
1 parent 57990e9 commit e41b4cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/rekor-cli/app/pflags.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func initializePFlagMap() {
},
operatorFlag: func() pflag.Value {
// this validates a valid operator name
return valueFactory(shaFlag, validateString("oneof=and or"), "")
return valueFactory(operatorFlag, validateString("oneof=and or"), "")
},
emailFlag: func() pflag.Value {
// this validates an email address
Expand Down

0 comments on commit e41b4cb

Please sign in to comment.