Merge "[masakari-k8s] Fix matrix yaml configuration" into main
This commit is contained in:
commit
53d091b918
@ -168,8 +168,8 @@ class MasakariConfigurationContext(config_contexts.ConfigContext):
|
||||
|
||||
matrix = []
|
||||
if active_agents_count == 1:
|
||||
up = {"health": "up", "action": []}
|
||||
down = {"health": "down", "action": ["recovery"]}
|
||||
up = {"health": ["up"], "action": []}
|
||||
down = {"health": ["down"], "action": ["recovery"]}
|
||||
matrix.extend([up, down])
|
||||
elif active_agents_count == 2:
|
||||
# Defaults for 2*2 matrix with no actions
|
||||
|
Loading…
Reference in New Issue
Block a user