mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-01-08 14:21:18 +00:00
log only if not equal
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
This commit is contained in:
@@ -622,7 +622,9 @@ func writeInitParameters(ctx context.Context, repoOption udmrepo.RepoOptions, lo
|
||||
default:
|
||||
return errors.Errorf("invalid full maintenance interval option %s", fullMaintIntervalOption)
|
||||
}
|
||||
logger.Infof("Full maintenance interval change from %v to %v", priorMaintInterval, p.FullCycle.Interval)
|
||||
if priorMaintInterval != p.FullCycle.Interval {
|
||||
logger.Infof("Full maintenance interval change from %v to %v", priorMaintInterval, p.FullCycle.Interval)
|
||||
}
|
||||
|
||||
p.Owner = r.ClientOptions().UsernameAtHost()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user