We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
topologyZonePrefix
1 parent 1725d7c commit 8b01e82Copy full SHA for 8b01e82
1 file changed
driver/controller.go
@@ -87,7 +87,7 @@ func (d *Driver) CreateVolume(ctx context.Context, req *csi.CreateVolumeRequest)
87
88
if req.AccessibilityRequirements != nil {
89
for _, t := range req.AccessibilityRequirements.Requisite {
90
- zone, ok := t.Segments["zone"]
+ zone, ok := t.Segments[topologyZonePrefix]
91
if !ok {
92
continue // nothing to do
93
}
0 commit comments