Commit c6935e4
committed
sap_ha_pacemaker_cluster: fix vip colo score
This fixes the HANA VIP colocation constraint conditional to always apply
the base score and recalculate only when HANA-VIP resource groups are
present in the definition.
Assigning new values inside blocks/loops does not work (anymore) and
and a namespace object has to be used instead.
Reference: https://jinja.palletsprojects.com/en/latest/templates/#assignments1 parent 378feb6 commit c6935e4
1 file changed
Lines changed: 4 additions & 4 deletions
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
| 131 | + | |
| 132 | + | |
132 | 133 | | |
133 | 134 | | |
134 | 135 | | |
135 | 136 | | |
136 | | - | |
| 137 | + | |
137 | 138 | | |
138 | 139 | | |
139 | | - | |
140 | | - | |
141 | 140 | | |
| 141 | + | |
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| |||
0 commit comments