Skip to content

Commit

Permalink
Update config.go (#184)
Browse files Browse the repository at this point in the history
fixing config ignoreNoResponders

Signed-off-by: Matt Siwiec <[email protected]>
  • Loading branch information
rizzza authored Nov 3, 2023
1 parent a4bc8c5 commit 8468182
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/permissions/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ func MustViperFlags(v *viper.Viper, flags *pflag.FlagSet) {
flags.String("permissions-url", "", "sets the permissions url checks should be run against")
viperx.MustBindFlag(v, "permissions.url", flags.Lookup("permissions-url"))

flags.String("permissions-ignore-no-responders", "", "ignores no responder errors when auth relationship requests are published")
viperx.MustBindFlag(v, "permissions.ignoreAuthRelationshipNoResponders", flags.Lookup("permissions-ignore-no-responders"))
flags.Bool("permissions-ignore-no-responders", false, "ignores no responder errors when auth relationship requests are published")
viperx.MustBindFlag(v, "permissions.ignoreNoResponders", flags.Lookup("permissions-ignore-no-responders"))
}

0 comments on commit 8468182

Please sign in to comment.