From 31b3bd4e624122322d750b70c5a72147693f084a Mon Sep 17 00:00:00 2001 From: Zubair Haque Date: Thu, 4 Sep 2025 17:30:53 -0500 Subject: [PATCH] fix pflag error (#2164) fix pflag error lint Signed-off-by: zhaque44 --- cmd/root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/root.go b/cmd/root.go index ed629d12..bb4dd64f 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -76,7 +76,7 @@ func NewRootCmd(globalConfig *config.GlobalOptions) (*cobra.Command, error) { // Set the global options for the root command. setGlobalOptionsForRootCmd(flags, globalConfig) - flags.ParseErrorsWhitelist.UnknownFlags = true + flags.ParseErrorsAllowlist.UnknownFlags = true globalImpl := config.NewGlobalImpl(globalConfig)