Explorar el Código

etcdserver/v2store: remove unused testing.T parameter

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
Gyuho Lee hace 7 años
padre
commit
26e46702a2
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  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 newTestStore(t *testing.T, ns ...string) StoreCloser {
+	if len(ns) == 0 {
+		t.Logf("new v2 store with no namespace")
+	}
 	return &v2TestStore{v2store.New(ns...)}
 }