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
This commit is contained in:
Jean Flach 2015-10-20 12:56:26 +02:00
parent d01f09f3ef
commit 6b92c6028b
1 changed files with 2 additions and 2 deletions

View File

@ -314,7 +314,7 @@ int NodeUtility::GenerateNodeIcingaConfig(const std::vector<std::string>& 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 */