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/csi-snapshotter/main.go
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,7 @@ const (
51
51
threads=10
52
52
53
53
// Default timeout of short CSI calls like GetPluginInfo
54
-
csiTimeout=time.Second
54
+
defaultCSITimeout=time.Minute
55
55
)
56
56
57
57
// Command line flags
@@ -66,6 +66,7 @@ var (
66
66
snapshotNamePrefix=flag.String("snapshot-name-prefix", "snapshot", "Prefix to apply to the name of a created snapshot")
67
67
snapshotNameUUIDLength=flag.Int("snapshot-name-uuid-length", -1, "Length in characters for the generated uuid of a created snapshot. Defaults behavior is to NOT truncate.")
leaderElectionNamespace=flag.String("leader-election-namespace", "", "The namespace where the leader election resource exists. Defaults to the pod namespace if not set.")
0 commit comments