| 295 | } |
| 296 | |
| 297 | std::string TCMachineTeamInfo::getMachineIDsStr() const { |
| 298 | std::stringstream ss; |
| 299 | |
| 300 | if (machineIDs.empty()) |
| 301 | return "[unset]"; |
| 302 | |
| 303 | for (const auto& id : machineIDs) { |
| 304 | ss << id.contents().toString() << " "; |
| 305 | } |
| 306 | |
| 307 | return std::move(ss).str(); |
| 308 | } |
| 309 | |
| 310 | TCTeamInfo::TCTeamInfo(std::vector<Reference<TCServerInfo>> const& servers, Optional<Reference<TCTenantInfo>> tenant) |
| 311 | : servers(servers), tenant(tenant), healthy(true), wrongConfiguration(false), |
no test coverage detected