From 97d4f8975e10099280c5cff3513f123576de46da Mon Sep 17 00:00:00 2001 From: Yannick Struyf Date: Fri, 8 Dec 2023 15:37:43 +0100 Subject: [PATCH] Update the Nutanix kind constants --- api/v1beta1/nutanixcluster_types.go | 2 +- api/v1beta1/nutanixmachine_types.go | 2 +- api/v1beta1/nutanixmachinetemplate_types.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/api/v1beta1/nutanixcluster_types.go b/api/v1beta1/nutanixcluster_types.go index d197cdc23d..b08fcb1212 100644 --- a/api/v1beta1/nutanixcluster_types.go +++ b/api/v1beta1/nutanixcluster_types.go @@ -25,7 +25,7 @@ import ( const ( // NutanixClusterKind represents the Kind of NutanixCluster - NutanixClusterKind = "NutanixClusterKind" + NutanixClusterKind = "NutanixCluster" // NutanixClusterFinalizer allows NutanixClusterReconciler to clean up AHV // resources associated with NutanixCluster before removing it from the diff --git a/api/v1beta1/nutanixmachine_types.go b/api/v1beta1/nutanixmachine_types.go index a4ddeb86ee..958c5f6eff 100644 --- a/api/v1beta1/nutanixmachine_types.go +++ b/api/v1beta1/nutanixmachine_types.go @@ -29,7 +29,7 @@ import ( const ( // NutanixMachineKind represents the Kind of NutanixMachine - NutanixMachineKind = "NutanixMachineKind" + NutanixMachineKind = "NutanixMachine" // NutanixMachineFinalizer allows NutanixMachineReconciler to clean up AHV // resources associated with NutanixMachine before removing it from the diff --git a/api/v1beta1/nutanixmachinetemplate_types.go b/api/v1beta1/nutanixmachinetemplate_types.go index b08f4e7b05..2219a30728 100644 --- a/api/v1beta1/nutanixmachinetemplate_types.go +++ b/api/v1beta1/nutanixmachinetemplate_types.go @@ -25,7 +25,7 @@ import ( const ( // NutanixMachineTemplateKind represents the Kind of NutanixMachineTemplate - NutanixMachineTemplateKind = "NutanixMachineTemplateKind" + NutanixMachineTemplateKind = "NutanixMachineTemplate" ) // NutanixMachineTemplateSpec defines the desired state of NutanixMachineTemplate