Netflix-Skunkworks / spectatord

A high performance metrics daemon
Apache License 2.0
24 stars 5 forks source link

Fix tags has/at functionality #16

Closed dmuino closed 3 years ago

dmuino commented 3 years ago

We were mistakingly comparing to the end() iterator for found/not-found functionality in tags but since we switched to a sorted array implementation we need to verify that the iterator points to the actual key in addition to comparing to the end.