mirror of
https://github.com/fluxcd/flagger.git
synced 2026-04-15 06:57:34 +00:00
Mark CanaryMetric.Threshold as omitempty
Signed-off-by: Evan Cordell <cordell.evan@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user