From 00cb1ca971912dbcdc2863df84a471e2fff5f2df Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Fri, 31 Oct 2014 06:27:22 +0100 Subject: [PATCH] Agent health check must not have zone attribute fixes #7519 --- lib/cli/agentupdateconfigcommand.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/cli/agentupdateconfigcommand.cpp b/lib/cli/agentupdateconfigcommand.cpp index 7a1e8553c..10c909fc3 100644 --- a/lib/cli/agentupdateconfigcommand.cpp +++ b/lib/cli/agentupdateconfigcommand.cpp @@ -103,7 +103,6 @@ int AgentUpdateConfigCommand::Run(const boost::program_options::variables_map& v host_attrs->Set("__name", zone); host_attrs->Set("name", zone); host_attrs->Set("check_command", "cluster-zone"); - host_attrs->Set("zone", zone); Array::Ptr host_imports = make_shared(); host_imports->Add("agent-host"); //default host agent template host_attrs->Set("import", host_imports); -- 2.40.0