From d0cda8bef93da4ce608c27f4e276e829493921f9 Mon Sep 17 00:00:00 2001 From: Rakesh Garimella Date: Fri, 10 Jan 2025 15:32:34 +0100 Subject: [PATCH] remove comment --- extension/leaderelector/extension.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/extension/leaderelector/extension.go b/extension/leaderelector/extension.go index 2fbff3be590f..89b44bb84ca4 100644 --- a/extension/leaderelector/extension.go +++ b/extension/leaderelector/extension.go @@ -43,7 +43,6 @@ type leaderElectionExtension struct { } // If the receiver sets a callback function then it would be invoked when the leader wins the election -// additionally set iamLeader to true func (lee *leaderElectionExtension) startedLeading(ctx context.Context) { for _, callback := range lee.onStartedLeading { callback(ctx) @@ -51,7 +50,6 @@ func (lee *leaderElectionExtension) startedLeading(ctx context.Context) { } // If the receiver sets a callback function then it would be invoked when the leader loss the election -// additionally set iamLeader to false func (lee *leaderElectionExtension) stoppedLeading() { for _, callback := range lee.onStoppedLeading { callback()