mirror of
https://github.com/fluxcd/flagger.git
synced 2026-04-15 06:57:34 +00:00
Revert changes in skip analysis condition
This commit is contained in:
@@ -428,7 +428,7 @@ func (c *Canary) GetMetricInterval() string {
|
||||
// SkipAnalysis returns true if the analysis is nil
|
||||
// or if spec.SkipAnalysis is true
|
||||
func (c *Canary) SkipAnalysis() bool {
|
||||
if c.Spec.Analysis == nil || c.Spec.CanaryAnalysis == nil {
|
||||
if c.Spec.Analysis == nil && c.Spec.CanaryAnalysis == nil {
|
||||
return true
|
||||
}
|
||||
return c.Spec.SkipAnalysis
|
||||
|
||||
@@ -71,8 +71,8 @@ spec:
|
||||
x-envoy-upstream-rq-timeout-ms: "15000"
|
||||
x-envoy-max-retries: "10"
|
||||
x-envoy-retry-on: "gateway-error,connect-failure,refused-stream"
|
||||
skipAnalysis: true
|
||||
analysis:
|
||||
skipAnalysis: true
|
||||
interval: 15s
|
||||
threshold: 15
|
||||
maxWeight: 30
|
||||
|
||||
Reference in New Issue
Block a user