瀏覽代碼

Merge pull request #7652 from heyitsanthony/fix-gofmt-clientv3

clientv3: fix go1.8 go fmt warning in test
Anthony Romano 9 年之前
父節點
當前提交
7dbc4549d9
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      clientv3/client_test.go

+ 2 - 2
clientv3/client_test.go

@@ -82,11 +82,11 @@ func TestDialTimeout(t *testing.T) {
 	defer testutil.AfterTest(t)
 
 	testCfgs := []Config{
-		Config{
+		{
 			Endpoints:   []string{"http://254.0.0.1:12345"},
 			DialTimeout: 2 * time.Second,
 		},
-		Config{
+		{
 			Endpoints:   []string{"http://254.0.0.1:12345"},
 			DialTimeout: time.Second,
 			Username:    "abc",