Skip to content

Commit 81ce104

Browse files
committed
Completley removing the multiwriter check from fake-gce.
1 parent 204a2da commit 81ce104

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

pkg/gce-cloud-provider/compute/fake-gce.go

-5
Original file line numberDiff line numberDiff line change
@@ -212,11 +212,6 @@ func (cloud *FakeCloudProvider) ValidateExistingDisk(ctx context.Context, resp *
212212
params.DiskType, respType[len(respType)-1])
213213
}
214214

215-
// We are assuming here that a multiWriter disk could be used as non-multiWriter
216-
if multiWriter {
217-
return fmt.Errorf("disk already exists with incompatible capability. Need MultiWriter. Got non-MultiWriter")
218-
}
219-
220215
klog.V(4).Infof("Compatible disk already exists")
221216
return ValidateDiskParameters(resp, params)
222217
}

0 commit comments

Comments
 (0)