mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-06 17:41:27 +02:00
fix pflag error (#2164)
fix pflag error lint Signed-off-by: zhaque44 <haque.zubair@gmail.com>
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user