You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmd/cinder-csi-plugin/main.go
+7-6Lines changed: 7 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -32,10 +32,11 @@ import (
32
32
)
33
33
34
34
var (
35
-
endpointstring
36
-
nodeIDstring
37
-
cloudconfig []string
38
-
clusterstring
35
+
endpointstring
36
+
nodeIDstring
37
+
cloudconfig []string
38
+
clusterstring
39
+
httpEndpointstring
39
40
)
40
41
41
42
funcmain() {
@@ -88,7 +89,7 @@ func main() {
88
89
}
89
90
90
91
cmd.PersistentFlags().StringVar(&cluster, "cluster", "", "The identifier of the cluster that the plugin is running in.")
91
-
92
+
cmd.PersistentFlags().StringVar(&httpEndpoint, "http-endpoint", "", "The TCP network address where the HTTP server for diagnostics, including metrics and leader election health check, will listen (example: `:8080`). The default is empty string, which means the server is disabled.")
0 commit comments