Skip to content

Commit

Permalink
fix: correct typo in AutoscalerReference type name
Browse files Browse the repository at this point in the history
- Fix spelling of AutoscalerReference (was AutoscalerRefernce) in type definition and struct field

Signed-off-by: kahirokunn <okinakahiro@gmail.com>
  • Loading branch information
kahirokunn committed Dec 12, 2024
1 parent 30f4b25 commit 992da9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/apis/flagger/v1beta1/canary.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"`
Expand Down

0 comments on commit 992da9f

Please sign in to comment.