Skip to content

Commit

Permalink
Merge pull request #1047 from ecordell/patch-1
Browse files Browse the repository at this point in the history
Mark CanaryMetric.Threshold as omitempty
  • Loading branch information
stefanprodan authored Nov 9, 2021
2 parents 2dacf08 + bc9a231 commit 7f5a9ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/apis/flagger/v1beta1/canary.go
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ type CanaryMetric struct {
Interval string `json:"interval,omitempty"`

// Deprecated: Max value accepted for this metric (replaced by ThresholdRange)
Threshold float64 `json:"threshold"`
Threshold float64 `json:"threshold,omitempty"`

// Range value accepted for this metric
// +optional
Expand Down

0 comments on commit 7f5a9ed

Please sign in to comment.