Skip to content

Commit 5f6e0eb

Browse files
Vikash-8090-Yadavmandre
authored andcommitted
Added comments and arranged the variable names (kubernetes#2290)
1 parent c7b0d54 commit 5f6e0eb

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

cmd/manila-csi-plugin/main.go

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,22 @@ import (
3434
)
3535

3636
var (
37-
endpoint string
37+
// Driver configuration
3838
driverName string
39-
nodeID string
40-
nodeAZ string
41-
runtimeConfigFile string
4239
withTopology bool
4340
protoSelector string
4441
fwdEndpoint string
45-
userAgentData []string
4642
compatibilitySettings string
47-
clusterID string
43+
44+
// Node information
45+
nodeID string
46+
nodeAZ string
47+
clusterID string
48+
49+
// Runtime options
50+
endpoint string
51+
runtimeConfigFile string
52+
userAgentData []string
4853
)
4954

5055
func validateShareProtocolSelector(v string) error {

0 commit comments

Comments
 (0)