mirror of
https://github.com/argoproj/argo-cd
synced 2026-04-21 17:07:16 +00:00
set default verbosity as 0 when dry run strategy is none
Signed-off-by: Kanika Rana <krana@redhat.com>
This commit is contained in:
parent
6dee3d61d4
commit
631d429e2c
1 changed files with 1 additions and 1 deletions
|
|
@ -334,7 +334,7 @@ func (k *kubectlResourceOperations) ApplyResource(ctx context.Context, obj *unst
|
|||
span.SetBaggageItem("kind", obj.GetKind())
|
||||
span.SetBaggageItem("name", obj.GetName())
|
||||
defer span.Finish()
|
||||
logWithLevel := k.log
|
||||
logWithLevel := k.log.V(0)
|
||||
if dryRunStrategy != cmdutil.DryRunNone {
|
||||
logWithLevel = logWithLevel.V(1)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue