From fc1049fb68fc0fabb576cc3b208d0cb34140efd4 Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Mon, 3 Aug 2015 16:23:59 +0200 Subject: [PATCH] Fix node wizard ignoring local zone name fixes #9782 --- lib/cli/nodeutility.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cli/nodeutility.cpp b/lib/cli/nodeutility.cpp index 0a95de509..1cf3ce087 100644 --- a/lib/cli/nodeutility.cpp +++ b/lib/cli/nodeutility.cpp @@ -314,7 +314,7 @@ int NodeUtility::GenerateNodeIcingaConfig(const std::vector& endpoi Array::Ptr my_zone_members = new Array(); my_zone_members->Add(nodename); - my_zone->Set("__name", nodename); + 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);