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
|
||||
|
||||
Reference in New Issue
Block a user