mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 12:15:52 +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()
|
return nil, rerr.Error()
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, scaleSet := range allScaleSets {
|
for i := range allScaleSets {
|
||||||
|
scaleSet := allScaleSets[i]
|
||||||
if scaleSet.Name == nil || *scaleSet.Name == "" {
|
if scaleSet.Name == nil || *scaleSet.Name == "" {
|
||||||
klog.Warning("failed to get the name of VMSS")
|
klog.Warning("failed to get the name of VMSS")
|
||||||
continue
|
continue
|
||||||
|
Loading…
Reference in New Issue
Block a user