Merge pull request #8225 from Icinga/bugfix/last-zone-sync-stage-validation-failed-7642-2116

Clear ApiListener#last_failed_zones_stage_validation on config::Update if config not changed
This commit is contained in:
Noah Hilverling 2020-09-11 14:24:50 +02:00 committed by GitHub
commit 6701db4dba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -534,6 +534,7 @@ void ApiListener::HandleConfigUpdate(const MessageOrigin::Ptr& origin, const Dic
Log(LogInformation, "ApiListener") Log(LogInformation, "ApiListener")
<< "Received configuration updates (" << count << ") from endpoint '" << fromEndpointName << "Received configuration updates (" << count << ") from endpoint '" << fromEndpointName
<< "' do not qualify for production, not triggering reload."; << "' do not qualify for production, not triggering reload.";
listener->ClearLastFailedZonesStageValidation();
} }
} }