mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 17:30:00 +00:00
mock driver fixes
This commit is contained in:
parent
ab365c091c
commit
a2a34bb744
@ -215,7 +215,7 @@ func (s *service) newVolumeFromVolume(name string, capacity int64, volumeID int)
|
|||||||
func (s *service) setTopology(vol *csi.Volume) {
|
func (s *service) setTopology(vol *csi.Volume) {
|
||||||
if s.config.EnableTopology {
|
if s.config.EnableTopology {
|
||||||
vol.AccessibleTopology = []*csi.Topology{
|
vol.AccessibleTopology = []*csi.Topology{
|
||||||
&csi.Topology{
|
{
|
||||||
Segments: map[string]string{
|
Segments: map[string]string{
|
||||||
TopologyKey: TopologyValue,
|
TopologyKey: TopologyValue,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user