Fix spelling errors.

* UNKNWON -> UNKNOWN
This commit is contained in:
Bas Couwenberg 2019-07-27 09:00:24 +02:00
parent 8b877e2a9b
commit 3ce4c6aead
2 changed files with 2 additions and 2 deletions

View File

@ -1713,7 +1713,7 @@ Message updates will be dropped when:
The receiver constructs a virtual host object and looks for the local CheckCommand object. The receiver constructs a virtual host object and looks for the local CheckCommand object.
Returns UNKNWON as check result to the sender Returns UNKNOWN as check result to the sender
* when the CheckCommand object does not exist. * when the CheckCommand object does not exist.
* when there was an exception triggered from check execution, e.g. the plugin binary could not be executed or similar. * when there was an exception triggered from check execution, e.g. the plugin binary could not be executed or similar.

View File

@ -146,7 +146,7 @@ static int FormatOutput(const Dictionary::Ptr& result)
{ "OK", 0 }, { "OK", 0 },
{ "WARNING", 1}, { "WARNING", 1},
{ "CRITICAL", 2}, { "CRITICAL", 2},
{ "UNKNWON", 3} { "UNKNOWN", 3}
}; };
String state = static_cast<String>(payload->Get("result")).ToUpper(); String state = static_cast<String>(payload->Get("result")).ToUpper();