Mark CanaryMetric.Threshold as omitempty

Signed-off-by: Evan Cordell <cordell.evan@gmail.com>
This commit is contained in:
Evan Cordell
2021-11-09 09:23:11 -05:00
parent 2dacf08c30
commit bc9a231d26

View File

@@ -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