mock driver fixes

This commit is contained in:
Patrick Ohly 2021-02-08 20:16:13 +01:00
parent ab365c091c
commit a2a34bb744

View File

@ -215,7 +215,7 @@ func (s *service) newVolumeFromVolume(name string, capacity int64, volumeID int)
func (s *service) setTopology(vol *csi.Volume) {
if s.config.EnableTopology {
vol.AccessibleTopology = []*csi.Topology{
&csi.Topology{
{
Segments: map[string]string{
TopologyKey: TopologyValue,
},