mirror of
https://github.com/outbackdingo/proxmox-cloud-controller-manager.git
synced 2026-01-27 02:20:02 +00:00
fix: ha-groups
Proxmox 9 uses HA rules instead of HA groups. Do not treat it as an error if the HA group (used in Proxmox 8) cannot be retrieved. Signed-off-by: Serge Logvinov <serge.logvinov@sinextra.dev>
This commit is contained in:
@@ -250,8 +250,6 @@ func (i *instances) InstanceMetadata(ctx context.Context, node *v1.Node) (*cloud
|
||||
if err != nil {
|
||||
if !errors.Is(err, proxmoxpool.ErrHAGroupNotFound) {
|
||||
klog.ErrorS(err, "instances.InstanceMetadata() failed to get HA group for the node", "node", klog.KRef("", node.Name), "region", info.Region)
|
||||
|
||||
return nil, err
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user