Merge pull request #115982 from peaaceChoi/master

Update toplogy keyset initialization
This commit is contained in:
Kubernetes Prow Robot
2023-06-19 04:04:21 -07:00
committed by GitHub

View File

@@ -526,10 +526,7 @@ func (nim *nodeInfoManager) installDriverToCSINode(
return fmt.Errorf("error getting CSI client") return fmt.Errorf("error getting CSI client")
} }
topologyKeys := make(sets.String) topologyKeys := sets.StringKeySet(topology)
for k := range topology {
topologyKeys.Insert(k)
}
specModified := true specModified := true
// Clone driver list, omitting the driver that matches the given driverName // Clone driver list, omitting the driver that matches the given driverName