diff --git a/cmd/cephfs/main.go b/cmd/cephfs/main.go index bd9b78ea5..3f7e5694f 100644 --- a/cmd/cephfs/main.go +++ b/cmd/cephfs/main.go @@ -42,7 +42,6 @@ var ( ) func main() { - klog.InitFlags(nil) flag.Parse() if err := createPersistentStorage(path.Join(cephfs.PluginFolder, "controller")); err != nil { diff --git a/cmd/rbd/main.go b/cmd/rbd/main.go index da9860c2f..5dd239fa9 100644 --- a/cmd/rbd/main.go +++ b/cmd/rbd/main.go @@ -42,7 +42,6 @@ var ( ) func main() { - klog.InitFlags(nil) flag.Parse() if err := createPersistentStorage(path.Join(rbd.PluginFolder, "controller")); err != nil {