Skip to content

Commit f19f684

Browse files
committed
fix: correct topology HostID key and value
1 parent b84309a commit f19f684

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/driver/topology.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ func (t Topology) ToCSI() *csi.Topology {
3333
segments := make(map[string]string)
3434
segments[ZoneKey] = t.ZoneID
3535
if t.HostID != "" {
36-
segments[ZoneKey] = t.ZoneID
36+
segments[HostKey] = t.HostID
3737
}
3838

3939
return &csi.Topology{

0 commit comments

Comments
 (0)