sync PDB also on update

This commit is contained in:
Felix Kunde
2019-06-12 18:02:11 +02:00
parent f1dae6e8ef
commit b99567415b
3 changed files with 24 additions and 15 deletions
+1 -1
View File
@@ -158,7 +158,7 @@ func SamePDB(cur, new *policybeta1.PodDisruptionBudget) (match bool, reason stri
//TODO: improve comparison
match = reflect.DeepEqual(new.Spec, cur.Spec)
if !match {
reason = "new service spec doesn't match the current one"
reason = "new PDB spec doesn't match the current one"
}
return