Skip to content

Commit

Permalink
fix: add driver options in command line
Browse files Browse the repository at this point in the history
fix
  • Loading branch information
andyzhangx committed Jan 3, 2025
1 parent 6089d3a commit a91bcc1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/blobplugin/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ var (
)

func init() {
klog.InitFlags(nil)
driverOptions.AddFlags()
}

Expand All @@ -57,8 +58,6 @@ var exit = func(code int) {
}

func main() {
klog.InitFlags(nil)
_ = flag.Set("logtostderr", "true")
flag.Parse()
if *version {
info, err := blob.GetVersionYAML(driverOptions.DriverName)
Expand Down

0 comments on commit a91bcc1

Please sign in to comment.