Merge pull request #1047 from ecordell/patch-1

Mark CanaryMetric.Threshold as omitempty
This commit is contained in:
Stefan Prodan
2021-11-09 19:22:09 +02:00
committed by GitHub
+1 -1
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