mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 20:53:33 +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
|
request.vm = &vm
|
||||||
}
|
}
|
||||||
return vm, nil
|
return *request.vm, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
glog.V(6).Infof("getVirtualMachine hits cache for(%s)", vmName)
|
glog.V(6).Infof("getVirtualMachine hits cache for(%s)", vmName)
|
||||||
|
Loading…
Reference in New Issue
Block a user