diff --git a/internal/cnpgi/operator/manager.go b/internal/cnpgi/operator/manager.go index 160eeab..94dfa72 100644 --- a/internal/cnpgi/operator/manager.go +++ b/internal/cnpgi/operator/manager.go @@ -119,7 +119,7 @@ func Start(ctx context.Context) error { // the manager stops, so would be fine to enable this option. However, // if you are doing or is intended to do any operation such as perform cleanups // after the manager stops then its usage might be unsafe. - // LeaderElectionReleaseOnCancel: true, + LeaderElectionReleaseOnCancel: true, }) if err != nil { setupLog.Error(err, "unable to start manager")