diff --git a/pkg/providers/nutanix/provider.go b/pkg/providers/nutanix/provider.go index d758362c95fd..bc330f656a4c 100644 --- a/pkg/providers/nutanix/provider.go +++ b/pkg/providers/nutanix/provider.go @@ -226,17 +226,7 @@ func (p *Provider) SetupAndValidateDeleteCluster(ctx context.Context, cluster *t } // SetupAndValidateUpgradeCluster - Performs necessary setup and validations for upgrade cluster operation. -func (p *Provider) SetupAndValidateUpgradeCluster(ctx context.Context, cluster *types.Cluster, clusterSpec *cluster.Spec, _ *cluster.Spec) error { - // Get current Nutanix Datacenter Config - curDc, err := p.kubectlClient.GetEksaNutanixDatacenterConfig(ctx, p.datacenterConfig.Name, cluster.KubeconfigFile, clusterSpec.Cluster.Namespace) - if err != nil { - return fmt.Errorf("failed setup and validations: %v", err) - } - - if len(curDc.Spec.FailureDomains) != len(p.datacenterConfig.Spec.FailureDomains) { - return fmt.Errorf("failed setup and validations: failure domains upgrade doesn't supported in current release") - } - +func (p *Provider) SetupAndValidateUpgradeCluster(ctx context.Context, _ *types.Cluster, clusterSpec *cluster.Spec, _ *cluster.Spec) error { if err := p.SetupAndValidateUpgradeManagementComponents(ctx, clusterSpec); err != nil { return err }