mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Merge pull request #90323 from gaurav1086/azure_cache_map_cleanup
[Provider/Azure] cache map remove exists check
This commit is contained in:
commit
68a9a07a79
@ -173,9 +173,7 @@ func (ss *scaleSet) newVMSSVirtualMachinesCache() (*azcache.TimedCache, error) {
|
|||||||
}
|
}
|
||||||
localCache.Store(computerName, vmssVMCacheEntry)
|
localCache.Store(computerName, vmssVMCacheEntry)
|
||||||
|
|
||||||
if _, exists := oldCache[computerName]; exists {
|
delete(oldCache, computerName)
|
||||||
delete(oldCache, computerName)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user