2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 05:27:55 +00:00

[#3106] Fixed logging placeholder in HA

This commit is contained in:
Marcin Siodelski 2023-11-28 12:33:35 +01:00
parent 2baec4f3e1
commit 050ec2fd1d
2 changed files with 2 additions and 1 deletions

View File

@ -2254,6 +2254,7 @@ HAService::asyncSyncLeasesInternal(http::HttpClient& http_client,
} catch (const std::exception& ex) {
error_message = ex.what();
LOG_ERROR(ha_logger, HA_LEASES_SYNC_FAILED)
.arg(config_->getThisServerName())
.arg(partner_config->getLogLabel())
.arg(error_message);
}

View File

@ -2040,7 +2040,7 @@ TEST_F(HAConfigTest, hubAndSpokeRepeatingThisServerName) {
" ]"
" }"
"]",
"server names must be unique for different relationships");
"server names must be unique for different relationships: a relationship 'server1' already exists");
}