From 3ce4c6aeadcdc7371c2b963e156044e7e625c7c0 Mon Sep 17 00:00:00 2001 From: Bas Couwenberg Date: Sat, 27 Jul 2019 09:00:24 +0200 Subject: [PATCH] Fix spelling errors. * UNKNWON -> UNKNOWN --- doc/19-technical-concepts.md | 2 +- plugins/check_nscp_api.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/19-technical-concepts.md b/doc/19-technical-concepts.md index b79027296..00eac5c58 100644 --- a/doc/19-technical-concepts.md +++ b/doc/19-technical-concepts.md @@ -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. diff --git a/plugins/check_nscp_api.cpp b/plugins/check_nscp_api.cpp index 6092d5b57..4900ee460 100644 --- a/plugins/check_nscp_api.cpp +++ b/plugins/check_nscp_api.cpp @@ -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(payload->Get("result")).ToUpper();