Disable immediate hard state for first check result

fixes #7354
This commit is contained in:
Michael Friedrich 2016-08-04 16:16:58 +02:00
parent 905380b436
commit 3f89a6dd09
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ void Checkable::ProcessCheckResult(const CheckResult::Ptr& cr, const MessageOrig
std::set<Checkable::Ptr> children = GetChildren();
if (!old_cr) {
SetStateType(StateTypeHard);
SetStateType(StateTypeSoft);
} else if (IsStateOK(cr->GetState())) {
SetStateType(StateTypeHard); // NOT-OK -> HARD OK