]> granicus.if.org Git - icinga2/commitdiff
Fix spelling errors. 7365/head
authorBas Couwenberg <sebastic@xs4all.nl>
Sat, 27 Jul 2019 07:00:24 +0000 (09:00 +0200)
committerBas Couwenberg <sebastic@xs4all.nl>
Sat, 27 Jul 2019 07:00:24 +0000 (09:00 +0200)
 * UNKNWON -> UNKNOWN

doc/19-technical-concepts.md
plugins/check_nscp_api.cpp

index b79027296855f858423af283e5845ef48960864c..00eac5c58a9d67945a01912f0d33d8821d994fc1 100644 (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.
 
-Returns UNKNWON as check result to the sender
+Returns UNKNOWN as check result to the sender
 
 * 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.
index 6092d5b57a64e13d48ccf812f885407689e1dbf4..4900ee460bc61fb59acd528061cf46a17ae8cc50 100644 (file)
@@ -146,7 +146,7 @@ static int FormatOutput(const Dictionary::Ptr& result)
                { "OK", 0 },
                { "WARNING", 1},
                { "CRITICAL", 2},
-               { "UNKNWON", 3}
+               { "UNKNOWN", 3}
        };
 
        String state = static_cast<String>(payload->Get("result")).ToUpper();