From bd893cfe72ed9ac11ca10dd8bc58ac59c63d7529 Mon Sep 17 00:00:00 2001 From: ONE7live Date: Fri, 24 Jun 2022 11:01:32 +0800 Subject: [PATCH] fix:cmd/clustersynchro-manager has duplicated log tags Signed-off-by: ONE7live --- cmd/clustersynchro-manager/app/synchro.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/clustersynchro-manager/app/synchro.go b/cmd/clustersynchro-manager/app/synchro.go index 2cbe55e21..f3649de6b 100644 --- a/cmd/clustersynchro-manager/app/synchro.go +++ b/cmd/clustersynchro-manager/app/synchro.go @@ -67,7 +67,7 @@ func NewClusterSynchroManagerCommand(ctx context.Context) *cobra.Command { namedFlagSets := opts.Flags() verflag.AddFlags(namedFlagSets.FlagSet("global")) - globalflag.AddGlobalFlags(namedFlagSets.FlagSet("global"), cmd.Name()) + globalflag.AddGlobalFlags(namedFlagSets.FlagSet("global"), cmd.Name(), logs.SkipLoggingConfigurationFlags()) clusterpediafeature.MutableFeatureGate.AddFlag(namedFlagSets.FlagSet("mutable feature gate")) fs := cmd.Flags()