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/gce-pd-csi-driver/main.go
+23-7
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,9 @@ package main
17
17
18
18
import (
19
19
"context"
20
+
"errors"
20
21
"flag"
22
+
"fmt"
21
23
"math/rand"
22
24
"os"
23
25
"runtime"
@@ -67,13 +69,12 @@ var (
67
69
68
70
maxConcurrentFormatAndMount=flag.Int("max-concurrent-format-and-mount", 1, "If set then format and mount operations are serialized on each node. This is stronger than max-concurrent-format as it includes fsck and other mount operations")
69
71
formatAndMountTimeout=flag.Duration("format-and-mount-timeout", 1*time.Minute, "The maximum duration of a format and mount operation before another such operation will be started. Used only if --serialize-format-and-mount")
70
-
computeEnvironment=flag.String("compute-environment", "prod", "Sets the compute environment")
72
+
fallbackRequisiteZonesFlag=flag.String("fallback-requisite-zones", "", "Comma separated list of requisite zones that will be used if there are not sufficient zones present in requisite topologies when provisioning a disk")
71
73
72
-
fallbackRequisiteZonesFlag=flag.String("fallback-requisite-zones", "", "Comma separated list of requisite zones that will be used if there are not sufficient zones present in requisite topologies when provisioning a disk")
73
-
74
-
enableStoragePoolsFlag=flag.Bool("enable-storage-pools", false, "If set to true, the CSI Driver will allow volumes to be provisioned in Storage Pools")
75
-
76
-
versionstring
74
+
enableStoragePoolsFlag=flag.Bool("enable-storage-pools", false, "If set to true, the CSI Driver will allow volumes to be provisioned in Storage Pools")
0 commit comments