From 7b3daf612df581457fdfeb0c467138bf41b808a2 Mon Sep 17 00:00:00 2001 From: Geeta Gharpure Date: Mon, 21 Aug 2023 19:13:36 +0000 Subject: [PATCH] Minor update to test code to remove a local var Signed-off-by: Geeta Gharpure --- tests/e2e/v2store_deprecation_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/e2e/v2store_deprecation_test.go b/tests/e2e/v2store_deprecation_test.go index bf94c58ba14..f85763e9c68 100644 --- a/tests/e2e/v2store_deprecation_test.go +++ b/tests/e2e/v2store_deprecation_test.go @@ -265,7 +265,7 @@ func assertMembershipEqual(t testing.TB, firstStore v2store.Store, secondStore v rc2.Recover(func(lg *zap.Logger, v *semver.Version) { return }) //membership should match - if g := rc1.Members(); !reflect.DeepEqual(g, rc2.Members()) { + if !reflect.DeepEqual(rc1.Members(), rc2.Members()) { t.Logf("memberids_from_last_version = %+v, member_ids_from_current_version = %+v", rc1.MemberIDs(), rc2.MemberIDs()) t.Errorf("members_from_last_version_snapshot = %+v, members_from_current_version_snapshot %+v", rc1.Members(), rc2.Members()) }