Skip to content

Commit

Permalink
curve-ops-tools: fix chunkserver ip:port error
Browse files Browse the repository at this point in the history
  • Loading branch information
ilixiaocui committed Dec 6, 2021
1 parent b1da45e commit c9e3297
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/copyset_check_core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -866,7 +866,7 @@ int CopysetCheckCore::CheckCopysetsOnOfflineChunkServer() {
return -1;
}
for (const auto& cs : chunkservers) {
std::string csAddr = cs.hostip() + std::to_string(cs.port());
std::string csAddr = cs.hostip() + ":" + std::to_string(cs.port());
if (!CheckChunkServerOnline(csAddr)) {
UpdatePeerNotOnlineCopysets(csAddr);
}
Expand Down

0 comments on commit c9e3297

Please sign in to comment.