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
+2-4Lines changed: 2 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -48,9 +48,6 @@ import (
48
48
)
49
49
50
50
const (
51
-
// Number of worker threads
52
-
threads=10
53
-
54
51
// Default timeout of short CSI calls like GetPluginInfo
55
52
defaultCSITimeout=time.Minute
56
53
)
@@ -63,6 +60,7 @@ var (
63
60
snapshotNamePrefix=flag.String("snapshot-name-prefix", "snapshot", "Prefix to apply to the name of a created snapshot")
64
61
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