Commit b7a8dbaf authored by David Boucher's avatar David Boucher Committed by Gres Remi
Browse files

fix(bam): the soft state should be updated too. (#88)

REFS: MON-11417
parent 1dac1405
......@@ -72,7 +72,8 @@ ba::ba(uint32_t id,
_host_id(host_id),
_service_id(service_id),
_generate_virtual_status(generate_virtual_status),
_computed_soft_state(ba::state::state_ok),
_computed_soft_state(source == configuration::ba::state_source_best ?
ba::state::state_critical : ba::state::state_ok),
_computed_hard_state(source == configuration::ba::state_source_best ?
ba::state::state_critical : ba::state::state_ok),
_num_soft_critical_childs{0.f},
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment