chore: bump deps

Update k8s to 0.28.2
This commit is contained in:
Serge Logvinov
2023-09-19 11:08:26 +03:00
committed by Serge
parent 591b88d7d3
commit 4e641a1df9
8 changed files with 172 additions and 278 deletions

View File

@@ -181,7 +181,7 @@ func (i *instances) getInstance(node *v1.Node) (*pxapi.VmRef, string, error) {
return nil, "", err
}
if vmInfo["name"].(string) != node.Name {
if vmInfo["name"] != nil && vmInfo["name"].(string) != node.Name {
return nil, "", fmt.Errorf("instances.getInstance() vm.name(%s) != node.name(%s)", vmInfo["name"].(string), node.Name)
}