mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-01 14:35:29 +00:00
[#3106] Fixed logging placeholder in HA
This commit is contained in:
@@ -2254,6 +2254,7 @@ HAService::asyncSyncLeasesInternal(http::HttpClient& http_client,
|
|||||||
} catch (const std::exception& ex) {
|
} catch (const std::exception& ex) {
|
||||||
error_message = ex.what();
|
error_message = ex.what();
|
||||||
LOG_ERROR(ha_logger, HA_LEASES_SYNC_FAILED)
|
LOG_ERROR(ha_logger, HA_LEASES_SYNC_FAILED)
|
||||||
|
.arg(config_->getThisServerName())
|
||||||
.arg(partner_config->getLogLabel())
|
.arg(partner_config->getLogLabel())
|
||||||
.arg(error_message);
|
.arg(error_message);
|
||||||
}
|
}
|
||||||
|
@@ -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");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user