From 3fa73c2d01aac23f9569c6eba44cef9196f656ff Mon Sep 17 00:00:00 2001 From: Aarsh Shah Date: Tue, 19 Sep 2023 10:03:31 +0400 Subject: [PATCH] fix go check --- pool_dynamics_test.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pool_dynamics_test.go b/pool_dynamics_test.go index 16a29b7..c110ba8 100644 --- a/pool_dynamics_test.go +++ b/pool_dynamics_test.go @@ -207,9 +207,7 @@ func TestPoolDynamics(t *testing.T) { for n := range controlGroup { assert.Contains(t, ch.CabooseActiveNodes.Nodes, n) } - }) - } func TestPoolAffinity(t *testing.T) { @@ -226,14 +224,11 @@ func TestPoolAffinity(t *testing.T) { _, _ = ch.Caboose.Get(ctx, cidList[0]) goodNodes := make([]*caboose.Node, 0) - badNodes := make([]*caboose.Node, 0) for _, n := range ch.CabooseAllNodes.Nodes { _, ok := controlGroup[n.URL] if ok { goodNodes = append(goodNodes, n) - } else { - badNodes = append(badNodes, n) } }