File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -27,16 +27,13 @@ import (
27
27
csicommon "sigs.k8s.io/blob-csi-driver/pkg/csi-common"
28
28
)
29
29
30
- func init () {
31
- _ = flag .Set ("logtostderr" , "true" )
32
- }
33
-
34
30
var (
35
31
blobfuseProxyEndpoint = flag .String ("blobfuse-proxy-endpoint" , "unix://tmp/blobfuse-proxy.sock" , "blobfuse-proxy endpoint" )
36
32
)
37
33
38
34
func main () {
39
35
klog .InitFlags (nil )
36
+ _ = flag .Set ("logtostderr" , "true" )
40
37
flag .Parse ()
41
38
proto , addr , err := csicommon .ParseEndpoint (* blobfuseProxyEndpoint )
42
39
if err != nil {
Original file line number Diff line number Diff line change @@ -31,10 +31,6 @@ import (
31
31
"k8s.io/klog/v2"
32
32
)
33
33
34
- func init () {
35
- _ = flag .Set ("logtostderr" , "true" )
36
- }
37
-
38
34
var (
39
35
endpoint = flag .String ("endpoint" , "unix://tmp/csi.sock" , "CSI endpoint" )
40
36
blobfuseProxyEndpoint = flag .String ("blobfuse-proxy-endpoint" , "unix://tmp/blobfuse-proxy.sock" , "blobfuse-proxy endpoint" )
61
57
62
58
func main () {
63
59
klog .InitFlags (nil )
60
+ _ = flag .Set ("logtostderr" , "true" )
64
61
flag .Parse ()
65
62
if * version {
66
63
info , err := blob .GetVersionYAML (* driverName )
You can’t perform that action at this time.
0 commit comments