Skip to content

Commit

Permalink
Merge pull request #46 from ashishranjan738/klogfix
Browse files Browse the repository at this point in the history
fix(klog): fix info values not getting printed with klog
  • Loading branch information
k8s-ci-robot authored Mar 31, 2019
2 parents 62925fc + f785b6a commit 106a120
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/azurefileplugin/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
)

func init() {
_ = flag.Set("logtostderr", "true")
klog.InitFlags(nil)
}

var (
Expand All @@ -36,7 +36,6 @@ var (
)

func main() {
klog.InitFlags(nil)
flag.Parse()
if *version {
info, err := azurefile.GetVersionYAML()
Expand All @@ -50,7 +49,6 @@ func main() {
klog.Error("--nodeid is a required parameter")
os.Exit(1)
}

handle()
os.Exit(0)
}
Expand Down

0 comments on commit 106a120

Please sign in to comment.