mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
Merge pull request #89002 from ArchangelSDY/azure-vmss-cache
Fix VMSS cache content
This commit is contained in:
commit
cb38560422
@ -73,7 +73,8 @@ func (ss *scaleSet) newVMSSCache() (*azcache.TimedCache, error) {
|
||||
return nil, rerr.Error()
|
||||
}
|
||||
|
||||
for _, scaleSet := range allScaleSets {
|
||||
for i := range allScaleSets {
|
||||
scaleSet := allScaleSets[i]
|
||||
if scaleSet.Name == nil || *scaleSet.Name == "" {
|
||||
klog.Warning("failed to get the name of VMSS")
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user