From 0a6e9224aff15a6062ca05b63296fcf78495ab27 Mon Sep 17 00:00:00 2001 From: Ashish Nair Date: Thu, 31 Aug 2023 01:08:53 +0000 Subject: [PATCH] Fixed the casing and json values for these variables --- crd/nodenetworkconfig/api/v1alpha/nodenetworkconfig.go | 4 ++-- .../manifests/acn.azure.com_nodenetworkconfigs.yaml | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/crd/nodenetworkconfig/api/v1alpha/nodenetworkconfig.go b/crd/nodenetworkconfig/api/v1alpha/nodenetworkconfig.go index 993c90d5e7e..9e41416cbf4 100644 --- a/crd/nodenetworkconfig/api/v1alpha/nodenetworkconfig.go +++ b/crd/nodenetworkconfig/api/v1alpha/nodenetworkconfig.go @@ -71,8 +71,8 @@ type NodeNetworkConfigStatus struct { // NetworkContainerStatus defines the status of the Network Containers type NetworkContainerStatus struct { Timestamp metav1.Time `json:"timestamp,omitempty"` - latestStatus string `json:"latestStatus,omitempty"` - latestErrorText string `json:"latestStatus,omitempty"` + LatestStatus string `json:"latestStatus,omitempty"` + LatestErrorText string `json:"latestErrorText,omitempty"` } // Scaler groups IP request params together diff --git a/crd/nodenetworkconfig/manifests/acn.azure.com_nodenetworkconfigs.yaml b/crd/nodenetworkconfig/manifests/acn.azure.com_nodenetworkconfigs.yaml index f261805efc3..615b52195a6 100644 --- a/crd/nodenetworkconfig/manifests/acn.azure.com_nodenetworkconfigs.yaml +++ b/crd/nodenetworkconfig/manifests/acn.azure.com_nodenetworkconfigs.yaml @@ -132,6 +132,8 @@ spec: description: NetworkContainerStatus defines the status of the Network Containers properties: + latestErrorText: + type: string latestStatus: type: string timestamp: