소스 검색

etcdserver/v2store: remove unused testing.T parameter

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
Gyuho Lee 7 년 전
부모
커밋
26e46702a2
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  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...)}
 }