From 1e8e7518949e83c60c9c8d0e5c456c4fbf7feab1 Mon Sep 17 00:00:00 2001 From: Scott Trent Date: Mon, 28 Oct 2024 16:15:42 +0900 Subject: [PATCH] fix typo Signed-off-by: Scott Trent --- cmd/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/main.go b/cmd/main.go index 801984f..e5ad99e 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -150,7 +150,7 @@ func main() { susqlLog.Info("carbonQueryFilter=" + carbonQueryFilter) susqlLog.Info("carbonQueryConv2J=" + carbonQueryConv2J) - // If enebleLeaderElection is false, then set "Leader for Life" mode + // If enableLeaderElection is false, then set "Leader for Life" mode if enableLeaderElection != true { os.Setenv("POD_NAME", os.Getenv("HOSTNAME")) err = leader.Become(context.TODO(), leaderLockID)