mirror of https://github.com/Icinga/icinga2.git
commit
2f78b67e74
|
@ -547,7 +547,7 @@ void ApiListener::TryActivateZonesStageCallback(const ProcessResult& pr,
|
||||||
|
|
||||||
// Copy all synced configuration files from stage to production.
|
// Copy all synced configuration files from stage to production.
|
||||||
for (const String& path : relativePaths) {
|
for (const String& path : relativePaths) {
|
||||||
if (!Utility::PathExists(path))
|
if (!Utility::PathExists(apiZonesStageDir + path))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
Log(LogInformation, "ApiListener")
|
Log(LogInformation, "ApiListener")
|
||||||
|
|
Loading…
Reference in New Issue