Fix the compile error on NativeAPI.actor.cpp

This commit is contained in:
Xiaoge Su 2022-02-28 16:34:59 -08:00
parent aadd706a0a
commit 02e396274f
1 changed files with 1 additions and 1 deletions

View File

@ -1601,7 +1601,7 @@ void DatabaseContext::invalidateCache(const KeyRangeRef& keys) {
void DatabaseContext::setFailedEndpointOnHealthyServer(const Endpoint& endpoint) {
if (failedEndpointsOnHealthyServersInfo.find(endpoint) == failedEndpointsOnHealthyServersInfo.end()) {
failedEndpointsOnHealthyServersInfo[endpoint] =
EndpointFailureInfo{ startTime : now(), lastRefreshTime : now() };
EndpointFailureInfo{ .startTime = now(), .lastRefreshTime = now() };
}
}