Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cvvz committed Aug 24, 2023
1 parent 3834b62 commit 2389047
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/blobfuse-proxy/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ var (
)

func main() {
klog.InitFlags(nil)
if err := flag.Set("logtostderr", "true"); err != nil {
klog.Fatalf("failed to set logtostderr flag: %v", err)
}
klog.InitFlags(nil)
flag.Parse()
proto, addr, err := csicommon.ParseEndpoint(*blobfuseProxyEndpoint)
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion pkg/blobplugin/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ var (
)

func main() {
klog.InitFlags(nil)
if err := flag.Set("logtostderr", "true"); err != nil {
klog.Fatalf("failed to set logtostderr flag: %v", err)
}
klog.InitFlags(nil)
flag.Parse()
if *version {
info, err := blob.GetVersionYAML(*driverName)
Expand Down

0 comments on commit 2389047

Please sign in to comment.