Skip to content

Commit 0de26f7

Browse files
author
tytv2
committed
[build][refactor] update key for zone topology mapping in volume creation
1 parent 75e802f commit 0de26f7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/driver/controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,7 @@ func newCreateVolumeResponse(disk *lsentity.Volume, pcvr *CreateVolumeRequest, p
721721
},
722722
}
723723
}
724-
segments := map[string]string{WellKnownZoneTopologyKey: lsutil.ConvertPortalZoneToVMZone(disk.ZoneId)}
724+
segments := map[string]string{ZoneTopologyKey: lsutil.ConvertPortalZoneToVMZone(disk.ZoneId)}
725725

726726
return &lcsi.CreateVolumeResponse{
727727
Volume: &lcsi.Volume{

0 commit comments

Comments
 (0)