Skip to content

Commit 2331d0d

Browse files
committed
hack/update-gofmt.sh
1 parent 37d370a commit 2331d0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/gce-pd-csi-driver/main.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ var (
4242
httpEndpoint = flag.String("http-endpoint", "", "The TCP network address where the prometheus metrics endpoint will listen (example: `:8080`). The default is empty string, which means metrics endpoint is disabled.")
4343
metricsPath = flag.String("metrics-path", "/metrics", "The HTTP path where prometheus metrics will be exposed. Default is `/metrics`.")
4444

45-
errorBackoffInitialDurationMs = flag.Int("backoff-initial-duration-ms", 200 , "The amount of ms for the initial duration of the backoff condition. Default is 200.")
45+
errorBackoffInitialDurationMs = flag.Int("backoff-initial-duration-ms", 200, "The amount of ms for the initial duration of the backoff condition. Default is 200.")
4646
extraVolumeLabelsStr = flag.String("extra-labels", "", "Extra labels to attach to each PD created. It is a comma separated list of key value pairs like '<key1>=<value1>,<key2>=<value2>'. See https://cloud.google.com/compute/docs/labeling-resources for details")
4747

4848
attachDiskBackoffDuration = flag.Duration("attach-disk-backoff-duration", 5*time.Second, "Duration for attachDisk backoff")
@@ -123,7 +123,7 @@ func handle() {
123123
if err != nil {
124124
klog.Fatalf("Failed to get cloud provider: %v", err)
125125
}
126-
controllerServer = driver.NewControllerServer(gceDriver, cloudProvider, time.Duration(*errorBackoffInitialDurationMs) * time.Millisecond)
126+
controllerServer = driver.NewControllerServer(gceDriver, cloudProvider, time.Duration(*errorBackoffInitialDurationMs)*time.Millisecond)
127127
} else if *cloudConfigFilePath != "" {
128128
klog.Warningf("controller service is disabled but cloud config given - it has no effect")
129129
}

0 commit comments

Comments
 (0)