From bfd2856e673d5171e4f29a949a008fec1e6f6cd6 Mon Sep 17 00:00:00 2001 From: Todd Gruben Date: Wed, 8 Sep 2021 08:02:22 -0500 Subject: [PATCH] dedup --- api.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api.go b/api.go index a0074371c..34548b794 100644 --- a/api.go +++ b/api.go @@ -2208,7 +2208,7 @@ func mergeIDLists(dst []uint64, src []uint64) []uint64 { } prev = dst[i] } - return dst + return dst[:n] } // mergeKeyLists merges a list of string IDs into another list, removing @@ -2228,7 +2228,7 @@ func mergeKeyLists(dst []string, src []string) []string { } prev = dst[i] } - return dst + return dst[:n] } // MutexCheckNode checks for collisions in a given mutex field. The response is