Skip to content

Commit

Permalink
Issue 628: Fix for disable finalizer flag is not functioning correctly (
Browse files Browse the repository at this point in the history
#629)

Signed-off-by: anishakj <[email protected]>
  • Loading branch information
anishakj authored May 26, 2022
1 parent 6fc2aae commit 4092987
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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))
Expand Down

0 comments on commit 4092987

Please sign in to comment.