From 84de894c73ebffa73248b2b03f1bbf3aa81ff1c7 Mon Sep 17 00:00:00 2001 From: Matt Siwiec Date: Fri, 3 Nov 2023 15:18:13 -0600 Subject: [PATCH] Update config.go 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")) }