fix: 🐛 trigger unexpected canary deployment.

https://github.com/fluxcd/flagger/issues/989

Signed-off-by: kyanagimoto <koichiyanagimoto@gmail.com>
This commit is contained in:
kyanagimoto
2021-09-01 19:17:17 +09:00
parent 8b42ce374d
commit 873b74561c
+1 -1
View File
@@ -238,7 +238,7 @@ func (ct *ConfigTracker) GetTargetConfigs(cd *flaggerv1.Canary) (map[string]Conf
func fieldIsMandatory(p *bool) bool {
if p == nil {
return false
return true
}
return !*p
}