From 1527321c7198d67953ba25303aa2ef6f6174a38b Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Fri, 21 Nov 2014 00:54:19 -0600 Subject: [PATCH] Wasn't actually copying the tiers http://stackoverflow.com/questions/27055626/concisely-deep-copy-a-slice --- client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.go b/client.go index 36f840fa..d2ebfbcd 100644 --- a/client.go +++ b/client.go @@ -1277,7 +1277,7 @@ func shuffleTier(tier []tracker.Client) { func copyTrackers(base [][]tracker.Client) (copy [][]tracker.Client) { for _, tier := range base { - copy = append(copy, tier) + copy = append(copy, append([]tracker.Client{}, tier...)) } return } -- 2.48.1