Skip to content

Commit

Permalink
Fix GetDriverName timeout
Browse files Browse the repository at this point in the history
It should be CSI call timeout, not connection timeout.
  • Loading branch information
jsafrane committed Mar 4, 2019
1 parent f588078 commit ef30b5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/csi-provisioner/csi-provisioner.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ func init() {
}

// Autodetect provisioner name
provisionerName, err := ctrl.GetDriverName(grpcClient, *connectionTimeout)
provisionerName, err := ctrl.GetDriverName(grpcClient, *operationTimeout)
if err != nil {
klog.Fatalf("Error getting CSI driver name: %s", err)
}
Expand Down

0 comments on commit ef30b5a

Please sign in to comment.