From 4092987f7570c09c08d3bb75ad930d89f9c5d02e Mon Sep 17 00:00:00 2001 From: anishakj <43978302+anishakj@users.noreply.github.com> Date: Thu, 26 May 2022 10:38:55 +0530 Subject: [PATCH] Issue 628: Fix for disable finalizer flag is not functioning correctly (#629) Signed-off-by: anishakj --- main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.go b/main.go index 460a7716d..ceda777ca 100644 --- a/main.go +++ b/main.go @@ -32,10 +32,10 @@ import ( _ "k8s.io/client-go/plugin/pkg/client/auth/gcp" _ "k8s.io/client-go/plugin/pkg/client/auth/oidc" - controllerconfig "github.com/pravega/bookkeeper-operator/pkg/controller/config" - "github.com/pravega/bookkeeper-operator/pkg/util" v1beta1 "github.com/pravega/pravega-operator/api/v1beta1" "github.com/pravega/pravega-operator/controllers" + controllerconfig "github.com/pravega/pravega-operator/pkg/controller/config" + "github.com/pravega/pravega-operator/pkg/util" "github.com/pravega/pravega-operator/pkg/version" "github.com/sirupsen/logrus" apimachineryruntime "k8s.io/apimachinery/pkg/runtime" @@ -57,7 +57,7 @@ var ( func init() { flag.BoolVar(&versionFlag, "version", false, "Show version and quit") flag.BoolVar(&controllerconfig.TestMode, "test", false, "Enable test mode. Do not use this flag in production") - flag.BoolVar(&controllerconfig.DisableFinalizer, "disableFinalizer", false, "Disable finalizers for bookkeeperclusters. Use this flag with awareness of the consequences") + flag.BoolVar(&controllerconfig.DisableFinalizer, "disableFinalizer", false, "Disable finalizers for pravegaclusters. Use this flag with awareness of the consequences") flag.BoolVar(&webhookFlag, "webhook", true, "Enable webhook, the default is enabled.") utilruntime.Must(clientgoscheme.AddToScheme(scheme)) utilruntime.Must(v1beta1.AddToScheme(scheme))