Skip to content

Commit 735ab61

Browse files
author
Paulo Gomes
committed
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 <[email protected]>
1 parent 4978ee0 commit 735ab61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controllers/imageupdateautomation_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ func (r *ImageUpdateAutomationReconciler) Reconcile(ctx context.Context, req ctr
388388
return failWithError(err)
389389
}
390390

391-
debuglog.Info("no changes made in working directory; no commit")
391+
log.Info("no changes made in working directory; no commit")
392392
statusMessage = "no updates made"
393393

394394
if auto.Status.LastPushTime != nil && len(auto.Status.LastPushCommit) >= 7 {

0 commit comments

Comments
 (0)