From: Jean Flach Date: Tue, 20 Oct 2015 10:56:26 +0000 (+0200) Subject: Reword nodeutility output X-Git-Tag: v2.4.0~181 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6b92c6028bf60aabe476affff7c82a3027d032b9;p=icinga2 Reword nodeutility output The old comment had a few minor problems: * Two spaces after 'named' * No space between // and the begining of the message * Incorrect capitalization And one major: * Incorrectly calling a zone a node But all of this is subject to change through the use of the configwriter anyways. fixes #10406 --- diff --git a/lib/cli/nodeutility.cpp b/lib/cli/nodeutility.cpp index b526bf717..bd77c2679 100644 --- a/lib/cli/nodeutility.cpp +++ b/lib/cli/nodeutility.cpp @@ -314,7 +314,7 @@ int NodeUtility::GenerateNodeIcingaConfig(const std::vector& endpoi my_zone->Set("__name", zonename); my_zone->Set("__type", "Zone"); my_zone->Set("parent", master_zone_name); //set the master zone as parent - my_zone->Set("//this is the local node", nodename); + my_zone->Set("// This is the local node", nodename); my_zone->Set("endpoints", my_zone_members); /* store the local config */ @@ -345,7 +345,7 @@ int NodeUtility::GenerateNodeMasterIcingaConfig(const String& nodename) my_master_zone->Set("__name", "master"); my_master_zone->Set("__type", "Zone"); - my_master_zone->Set("//this is the local node master named ", "master"); + my_master_zone->Set("// This is the local master zone", "master"); my_master_zone->Set("endpoints", my_master_zone_members); /* store the local config */