diff options
author | ncteisen <ncteisen@gmail.com> | 2018-10-19 13:26:42 -0700 |
---|---|---|
committer | ncteisen <ncteisen@gmail.com> | 2018-10-19 14:02:10 -0700 |
commit | a3400a8fcb8b5b8d4559e6466623ba69c4d2320b (patch) | |
tree | 28ef9e0a90349fd4a56969d9bba3688cd3f17861 /src | |
parent | d6d5d21c0af5b4e739cf3cfa35f64ceaa92424be (diff) |
Add a test with more edge cases
Diffstat (limited to 'src')
-rw-r--r-- | src/core/lib/channel/channelz_registry.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lib/channel/channelz_registry.cc b/src/core/lib/channel/channelz_registry.cc index 89d0573280..1fe2fad3e1 100644 --- a/src/core/lib/channel/channelz_registry.cc +++ b/src/core/lib/channel/channelz_registry.cc @@ -103,7 +103,7 @@ int ChannelzRegistry::FindByUuidLocked(intptr_t target_uuid, right = true_middle - 1; } } - return direct_hit_needed ? -1 : right; + return direct_hit_needed ? -1 : left; } void ChannelzRegistry::InternalUnregister(intptr_t uuid) { |