Cli: Fix incorrect error message in 'node update-config'

fixes #7529
This commit is contained in:
Michael Friedrich 2014-10-31 20:35:05 +01:00
parent b60adade1a
commit 7c1cd4c506
2 changed files with 2 additions and 2 deletions

View File

@ -118,7 +118,7 @@ int NodeUpdateConfigCommand::Run(const boost::program_options::variables_map& vm
if (host == "localhost") {
Log(LogWarning, "cli")
<< "Ignoring host '" << host << "'. Please make sure to configure a unique name on your node '" << node_name << "'.";
<< "Ignoring host '" << host << "'. Please make sure to configure a unique name on your node '" << endpoint << "'.";
continue;
}

View File

@ -362,7 +362,7 @@ bool RepositoryUtility::RemoveObjectInternal(const String& name, const String& t
String path = GetRepositoryObjectConfigPath(type, attrs) + "/" + name + ".conf";
if (!Utility::PathExists(path)) {
Log(LogCritical, "cli")
Log(LogWarning, "cli")
<< type << " '" << name << "' does not exist.";
return true;
}