Revert "NullCheckTask should return StateOK."

This reverts commit 046ea13cc8.
This commit is contained in:
Gunnar Beutner 2013-10-17 10:24:47 +02:00
parent b4ab6c8253
commit 5a724ba011
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ Dictionary::Ptr NullCheckTask::ScriptFunc(const Service::Ptr&)
Dictionary::Ptr cr = boost::make_shared<Dictionary>();
cr->Set("output", output);
cr->Set("performance_data_raw", perfdata);
cr->Set("state", StateOK);
cr->Set("state", static_cast<ServiceState>(Utility::Random() % 4));
return cr;
}