mirror of
https://github.com/fluxcd/flagger.git
synced 2026-04-15 06:57:34 +00:00
make MirrorWeight's type int, not float64
This commit is contained in:
@@ -179,9 +179,9 @@ type CanaryAnalysis struct {
|
||||
// +optional
|
||||
Mirror bool `json:"mirror,omitempty"`
|
||||
|
||||
// Percentage of the traffic to be mirrored in the range of [0.0, 100.0].
|
||||
// Percentage of the traffic to be mirrored in the range of [0, 100].
|
||||
// +optional
|
||||
MirrorWeight float64 `json:"mirrorWeight,omitempty"`
|
||||
MirrorWeight int `json:"mirrorWeight,omitempty"`
|
||||
|
||||
// Max traffic percentage routed to canary
|
||||
// +optional
|
||||
|
||||
Reference in New Issue
Block a user