mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-31 01:24:19 +02:00
parent
b60adade1a
commit
7c1cd4c506
@ -118,7 +118,7 @@ int NodeUpdateConfigCommand::Run(const boost::program_options::variables_map& vm
|
|||||||
|
|
||||||
if (host == "localhost") {
|
if (host == "localhost") {
|
||||||
Log(LogWarning, "cli")
|
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;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -362,7 +362,7 @@ bool RepositoryUtility::RemoveObjectInternal(const String& name, const String& t
|
|||||||
String path = GetRepositoryObjectConfigPath(type, attrs) + "/" + name + ".conf";
|
String path = GetRepositoryObjectConfigPath(type, attrs) + "/" + name + ".conf";
|
||||||
|
|
||||||
if (!Utility::PathExists(path)) {
|
if (!Utility::PathExists(path)) {
|
||||||
Log(LogCritical, "cli")
|
Log(LogWarning, "cli")
|
||||||
<< type << " '" << name << "' does not exist.";
|
<< type << " '" << name << "' does not exist.";
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user