From 992da9ff924707613313c77798f41d4bbf32561c Mon Sep 17 00:00:00 2001 From: kahirokunn Date: Thu, 12 Dec 2024 09:33:31 +0900 Subject: [PATCH] fix: correct typo in AutoscalerReference type name - Fix spelling of AutoscalerReference (was AutoscalerRefernce) in type definition and struct field Signed-off-by: kahirokunn --- pkg/apis/flagger/v1beta1/canary.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/apis/flagger/v1beta1/canary.go b/pkg/apis/flagger/v1beta1/canary.go index f5797e876..8c5ac5393 100644 --- a/pkg/apis/flagger/v1beta1/canary.go +++ b/pkg/apis/flagger/v1beta1/canary.go @@ -74,7 +74,7 @@ type CanarySpec struct { // AutoscalerRef references an autoscaling resource // +optional - AutoscalerRef *AutoscalerRefernce `json:"autoscalerRef,omitempty"` + AutoscalerRef *AutoscalerReference `json:"autoscalerRef,omitempty"` // Reference to NGINX ingress resource // +optional @@ -458,7 +458,7 @@ type LocalObjectReference struct { Name string `json:"name"` } -type AutoscalerRefernce struct { +type AutoscalerReference struct { // API version of the scaler // +required APIVersion string `json:"apiVersion,omitempty"`