Skip to content

Commit 5dd56af

Browse files
andyzhangxk8s-infra-cherrypick-robot
authored andcommitted
fix: add driver options in command line
fix
1 parent 7247b66 commit 5dd56af

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pkg/blobplugin/main.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,11 @@ var (
4848
)
4949

5050
func init() {
51+
klog.InitFlags(nil)
5152
driverOptions.AddFlags()
5253
}
5354

5455
func main() {
55-
klog.InitFlags(nil)
56-
_ = flag.Set("logtostderr", "true")
5756
flag.Parse()
5857
if *version {
5958
info, err := blob.GetVersionYAML(driverOptions.DriverName)

0 commit comments

Comments
 (0)