mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-17 23:57:49 +00:00
Update toplogy keyset initialization
This commit is contained in:
parent
4dd887797f
commit
4d3f92d5f7
@ -526,10 +526,7 @@ func (nim *nodeInfoManager) installDriverToCSINode(
|
||||
return fmt.Errorf("error getting CSI client")
|
||||
}
|
||||
|
||||
topologyKeys := make(sets.String)
|
||||
for k := range topology {
|
||||
topologyKeys.Insert(k)
|
||||
}
|
||||
topologyKeys := sets.StringKeySet(topology)
|
||||
|
||||
specModified := true
|
||||
// Clone driver list, omitting the driver that matches the given driverName
|
||||
|
Loading…
Reference in New Issue
Block a user