From 84681822dedd2bc022b46d5069ba6ab4a5115115 Mon Sep 17 00:00:00 2001 From: Matt Siwiec Date: Fri, 3 Nov 2023 15:31:52 -0600 Subject: [PATCH] Update config.go (#184) fixing config ignoreNoResponders Signed-off-by: Matt Siwiec --- pkg/permissions/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/permissions/config.go b/pkg/permissions/config.go index 90699960..9db6f830 100644 --- a/pkg/permissions/config.go +++ b/pkg/permissions/config.go @@ -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")) }