mirror of
https://github.com/weaveworks/scope.git
synced 2026-05-04 16:29:24 +00:00
The fixup() method was modifying a copy of its input, so you could get duplicate keys in the output. Change it to return the new slice. Thankfully this is rare: in most cases WithLatests() is called with fields that are not duplicates of existing ones.
4.4 KiB
4.4 KiB