mirror of https://github.com/Icinga/icinga2.git
Fix incorrect error message for localhost (in "node update-config")
fixes #7754
This commit is contained in:
parent
2d53e000c8
commit
06e72d134b
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue