You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by as...@apache.org on 2020/10/15 12:09:43 UTC
[camel-k] branch master updated: fix: Correct operator leader
election ConfigMap lock name
This is an automated email from the ASF dual-hosted git repository.
astefanutti 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 176ae05 fix: Correct operator leader election ConfigMap lock name
176ae05 is described below
commit 176ae0521263af47381eb88a8deec3b5993a63f3
Author: Antonin Stefanutti <an...@stefanutti.fr>
AuthorDate: Thu Oct 15 13:02:37 2020 +0200
fix: Correct operator leader election ConfigMap lock name
---
pkg/cmd/operator/operator.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pkg/cmd/operator/operator.go b/pkg/cmd/operator/operator.go
index 12a2002..9eec07e 100644
--- a/pkg/cmd/operator/operator.go
+++ b/pkg/cmd/operator/operator.go
@@ -91,7 +91,7 @@ func Run() {
}
// Become the leader before proceeding
- err = leader.Become(context.TODO(), "hawtio-lock")
+ err = leader.Become(context.TODO(), "camel-k-lock")
if err != nil {
if err == leader.ErrNoNamespace {
log.Info("Local run detected, leader election is disabled")