Skip to content

Commit

Permalink
Fix a tiny bug in avenue directory
Browse files Browse the repository at this point in the history
  • Loading branch information
ifsmirnov committed Jul 5, 2023
1 parent 8d5ec03 commit 0c1f42f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yt/yt/server/lib/hive/avenue_directory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ void TSimpleAvenueDirectory::UpdateEndpoint(TAvenueEndpointId endpointId, TCellI
if (cellId) {
Directory_[endpointId] = cellId;
} else {
Directory_.erase(cellId);
Directory_.erase(endpointId);
}

EndpointUpdated_.Fire(endpointId, cellId);
Expand Down

0 comments on commit 0c1f42f

Please sign in to comment.