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:
parent
4978ee0f52
commit
735ab61911
|
|
@ -388,7 +388,7 @@ func (r *ImageUpdateAutomationReconciler) Reconcile(ctx context.Context, req ctr
|
||||||
return failWithError(err)
|
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"
|
statusMessage = "no updates made"
|
||||||
|
|
||||||
if auto.Status.LastPushTime != nil && len(auto.Status.LastPushCommit) >= 7 {
|
if auto.Status.LastPushTime != nil && len(auto.Status.LastPushCommit) >= 7 {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue