mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Fix vm cache in concurrent case
This commit is contained in:
parent
57888103a5
commit
0eb19a0040
@ -112,7 +112,7 @@ func (az *Cloud) getVirtualMachine(nodeName types.NodeName) (vm compute.VirtualM
|
||||
|
||||
request.vm = &vm
|
||||
}
|
||||
return vm, nil
|
||||
return *request.vm, nil
|
||||
}
|
||||
|
||||
glog.V(6).Infof("getVirtualMachine hits cache for(%s)", vmName)
|
||||
|
Loading…
Reference in New Issue
Block a user