mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-30 17:14:25 +02:00
parent
b60adade1a
commit
7c1cd4c506
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user