Log when no changes were made

This gets the behaviour a step closer to Source Controller
which logs after every reconciliation, even when no changes
were made.

Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
This commit is contained in:
Paulo Gomes 2022-09-05 14:02:28 +01:00
parent 4978ee0f52
commit 735ab61911
No known key found for this signature in database
GPG Key ID: 9995233870E99BEE
1 changed files with 1 additions and 1 deletions

View File

@ -388,7 +388,7 @@ func (r *ImageUpdateAutomationReconciler) Reconcile(ctx context.Context, req ctr
return failWithError(err)
}
debuglog.Info("no changes made in working directory; no commit")
log.Info("no changes made in working directory; no commit")
statusMessage = "no updates made"
if auto.Status.LastPushTime != nil && len(auto.Status.LastPushCommit) >= 7 {