]> granicus.if.org Git - icinga2/commitdiff
Fix incorrect error message for localhost (in "node update-config")
authorGunnar Beutner <gunnar@beutner.name>
Thu, 20 Nov 2014 13:53:59 +0000 (14:53 +0100)
committerGunnar Beutner <gunnar@beutner.name>
Thu, 20 Nov 2014 13:54:44 +0000 (14:54 +0100)
fixes #7754

lib/cli/nodeupdateconfigcommand.cpp

index ed17c4d6f304276718b2e8c3ee4857eb02b31ace..e8104deaab77a4f17701c6e9cade13dcd52ce949 100644 (file)
@@ -325,7 +325,7 @@ int NodeUpdateConfigCommand::Run(const boost::program_options::variables_map& vm
 
                                if (old_host == "localhost") {
                                        Log(LogWarning, "cli")
-                                           << "Ignoring host '" << old_host << "'. Please make sure to configure a unique name on your node '" << old_node << "'.";
+                                           << "Ignoring host '" << old_host << "'. Please make sure to configure a unique name on your node '" << old_node_name << "'.";
                                        continue;
                                }