We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 169cf22 commit 9da120bCopy full SHA for 9da120b
pkg/mount-manager/safe-mounter_windows.go
@@ -52,8 +52,9 @@ type CSIProxyMounter struct {
52
53
func getDiskClient() (*diskclient.Client, error) {
54
var err error
55
+ version2 := apiversion.NewVersionOrPanic("v2")
56
versionv1beta2 := apiversion.NewVersionOrPanic("v1beta2")
- diskAPIVersions := []apiversion.Version{diskclient.Version, versionv1beta2}
57
+ diskAPIVersions := []apiversion.Version{version2, versionv1beta2}
58
59
// attempt to connect to one of the clients in order
60
for _, apiVersion := range diskAPIVersions {
0 commit comments