mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 05:34:48 +02:00
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:
parent
d01f09f3ef
commit
6b92c6028b
@ -314,7 +314,7 @@ int NodeUtility::GenerateNodeIcingaConfig(const std::vector<std::string>& endpoi
|
|||||||
my_zone->Set("__name", zonename);
|
my_zone->Set("__name", zonename);
|
||||||
my_zone->Set("__type", "Zone");
|
my_zone->Set("__type", "Zone");
|
||||||
my_zone->Set("parent", master_zone_name); //set the master zone as parent
|
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);
|
my_zone->Set("endpoints", my_zone_members);
|
||||||
|
|
||||||
/* store the local config */
|
/* store the local config */
|
||||||
@ -345,7 +345,7 @@ int NodeUtility::GenerateNodeMasterIcingaConfig(const String& nodename)
|
|||||||
|
|
||||||
my_master_zone->Set("__name", "master");
|
my_master_zone->Set("__name", "master");
|
||||||
my_master_zone->Set("__type", "Zone");
|
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);
|
my_master_zone->Set("endpoints", my_master_zone_members);
|
||||||
|
|
||||||
/* store the local config */
|
/* store the local config */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user