From 840d8195def8b053617880e3e7d4fe17939e1283 Mon Sep 17 00:00:00 2001 From: Aravind Ramalingam Date: Tue, 17 Jan 2023 16:09:28 -0800 Subject: [PATCH] Removing setting provisioning field on the hardware metadata --- pkg/providers/tinkerbell/hardware/catalogue.go | 2 -- pkg/providers/tinkerbell/hardware/catalogue_hardware.go | 1 - 2 files changed, 3 deletions(-) diff --git a/pkg/providers/tinkerbell/hardware/catalogue.go b/pkg/providers/tinkerbell/hardware/catalogue.go index 9f35452c0a18..dd4cabed5526 100644 --- a/pkg/providers/tinkerbell/hardware/catalogue.go +++ b/pkg/providers/tinkerbell/hardware/catalogue.go @@ -18,8 +18,6 @@ import ( "github.com/aws/eks-anywhere/pkg/templater" ) -const Provisioning = "provisioning" - // Indexer provides indexing behavior for objects. type Indexer interface { // Lookup retrieves objects associated with the index => value pair. diff --git a/pkg/providers/tinkerbell/hardware/catalogue_hardware.go b/pkg/providers/tinkerbell/hardware/catalogue_hardware.go index a14b7532faf2..d017c344fbc1 100644 --- a/pkg/providers/tinkerbell/hardware/catalogue_hardware.go +++ b/pkg/providers/tinkerbell/hardware/catalogue_hardware.go @@ -290,7 +290,6 @@ func hardwareFromMachine(m Machine) *tinkv1alpha1.Hardware { AllowPxe: true, AlwaysPxe: true, }, - State: "provisioning", }, Interfaces: []tinkv1alpha1.Interface{ {