1
0
Fork 0

fix ServerState.cpp

This commit is contained in:
Jan Christoph Uhde 2017-02-10 20:52:26 +01:00
parent b0c4b7b38a
commit 16a9ddd78d
1 changed files with 1 additions and 1 deletions

View File

@ -589,7 +589,7 @@ bool ServerState::registerAtAgency(AgencyComm& comm,
size_t attempts {0};
while (attempts++ < 300) {
AgencyReadTransaction readValueTrx({AgencyCommManager::path() + "/" + targetIdStr, AgencyCommManager::path() + "/" + targetUrl});
AgencyReadTransaction readValueTrx(std::vector<std::string>{AgencyCommManager::path() + "/" + targetIdStr, AgencyCommManager::path() + "/" + targetUrl});
AgencyCommResult result = comm.sendTransactionWithFailover(readValueTrx, 0.0);
if (!result.successful()) {