Browse Source

etcdserver/v2store: remove unused testing.T parameter

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
Gyuho Lee 7 years ago
parent
commit
26e46702a2
1 changed files with 3 additions and 0 deletions
  1. 3 0
      etcdserver/v2store/store_v2_test.go

+ 3 - 0
etcdserver/v2store/store_v2_test.go

@@ -30,6 +30,9 @@ type v2TestStore struct {
 func (s *v2TestStore) Close() {}
 func (s *v2TestStore) Close() {}
 
 
 func newTestStore(t *testing.T, ns ...string) StoreCloser {
 func newTestStore(t *testing.T, ns ...string) StoreCloser {
+	if len(ns) == 0 {
+		t.Logf("new v2 store with no namespace")
+	}
 	return &v2TestStore{v2store.New(ns...)}
 	return &v2TestStore{v2store.New(ns...)}
 }
 }