Skip to content

Commit

Permalink
Refactor.
Browse files Browse the repository at this point in the history
Signed-off-by: RileyW <[email protected]>
  • Loading branch information
RileyWen committed Nov 20, 2024
1 parent 50902c6 commit a7c4044
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/CraneCtld/CranedKeeper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -671,6 +671,7 @@ void CranedKeeper::ConnectCranedNode_(CranedId const &craned_id) {

{
util::lock_guard guard(s_craned_id_to_ip_cache_map_mtx);

auto it = s_craned_id_to_ip_cache_map.find(craned_id);
if (it != s_craned_id_to_ip_cache_map.end()) {
if (std::holds_alternative<ipv4_t>(it->second)) { // Ipv4
Expand Down

0 comments on commit a7c4044

Please sign in to comment.