mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-07 03:03:59 +00:00
Merge pull request #115982 from peaaceChoi/master
Update toplogy keyset initialization
This commit is contained in:
commit
bfd833baf3
@ -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