You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by nf...@apache.org on 2019/05/20 09:19:53 UTC
[camel-k] branch master updated: fix wrong log method used to log
formatted content
This is an automated email from the ASF dual-hosted git repository.
nferraro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git
The following commit(s) were added to refs/heads/master by this push:
new 6aec40f fix wrong log method used to log formatted content
6aec40f is described below
commit 6aec40fbec6f80a2034d2a7b9f26e4147d73705f
Author: lburgazzoli <lb...@gmail.com>
AuthorDate: Sun May 19 18:27:06 2019 +0200
fix wrong log method used to log formatted content
---
pkg/controller/build/recovery.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pkg/controller/build/recovery.go b/pkg/controller/build/recovery.go
index eea46a0..9c6d18a 100644
--- a/pkg/controller/build/recovery.go
+++ b/pkg/controller/build/recovery.go
@@ -106,7 +106,7 @@ func (action *errorRecoveryAction) Handle(ctx context.Context, build *v1alpha1.B
target.Status.Failure.Recovery.Attempt = build.Status.Failure.Recovery.Attempt + 1
target.Status.Failure.Recovery.AttemptTime = metav1.Now()
- action.L.Info("Recovery attempt (%d/%d)",
+ action.L.Infof("Recovery attempt (%d/%d)",
target.Status.Failure.Recovery.Attempt,
target.Status.Failure.Recovery.AttemptMax,
)