We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8dc67ee commit 1bb6eb6Copy full SHA for 1bb6eb6
cmd/csi-snapshotter/main.go
@@ -137,7 +137,7 @@ func main() {
137
snapshotscheme.AddToScheme(scheme.Scheme)
138
139
// Connect to CSI.
140
- csiConn, err := connection.Connect(*csiAddress)
+ csiConn, err := connection.Connect(*csiAddress, connection.OnConnectionLoss(connection.ExitOnConnectionLoss()))
141
if err != nil {
142
klog.Errorf("error connecting to CSI driver: %v", err)
143
os.Exit(1)
0 commit comments