mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 10:33:35 +00:00
Changes to accommodate client-go changes and kube vendor update
to v1.18.0 Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
This commit is contained in:
committed by
mergify[bot]
parent
4c96ad3c85
commit
34fc1d847e
2
vendor/k8s.io/csi-translation-lib/plugins/in_tree_volume.go
generated
vendored
2
vendor/k8s.io/csi-translation-lib/plugins/in_tree_volume.go
generated
vendored
@ -119,7 +119,7 @@ func addTopology(pv *v1.PersistentVolume, topologyKey string, zones []string) er
|
||||
}
|
||||
}
|
||||
|
||||
zones = filteredZones.UnsortedList()
|
||||
zones = filteredZones.List()
|
||||
if len(zones) < 1 {
|
||||
return errors.New("there are no valid zones to add to pv")
|
||||
}
|
||||
|
Reference in New Issue
Block a user