This is an automated email from the ASF dual-hosted git repository.
pcongiusti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git
The following commit(s) were added to refs/heads/main by this push:
new 700beed1a Fix #3192: use correct print function
700beed1a is described below
commit 700beed1aa027be7eab42537a8698127c4fd3e83
Author: John Poth <[email protected]>
AuthorDate: Tue Apr 12 12:40:35 2022 +0200
Fix #3192: use correct print function
---
pkg/install/operator.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pkg/install/operator.go b/pkg/install/operator.go
index 1d0cda16e..2f48dacb0 100644
--- a/pkg/install/operator.go
+++ b/pkg/install/operator.go
@@ -298,7 +298,7 @@ func OperatorOrCollect(ctx context.Context, cmd
*cobra.Command, c client.Client,
}
if err = installNamespacedRoleBinding(ctx, c, collection,
cfg.Namespace, "/rbac/operator-role-binding-local-registry.yaml"); err != nil {
- fmt.Println(cmd.ErrOrStderr(), "Warning: the operator won't be
able to detect a local image registry via KEP-1755")
+ fmt.Fprintln(cmd.ErrOrStderr(), "Warning: the operator won't be
able to detect a local image registry via KEP-1755")
}
if cfg.Monitoring.Enabled {