mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
clientv3: fix go1.8 go fmt warning in test
This commit is contained in:
parent
e56e43064f
commit
a0149106b8
@ -82,11 +82,11 @@ func TestDialTimeout(t *testing.T) {
|
|||||||
defer testutil.AfterTest(t)
|
defer testutil.AfterTest(t)
|
||||||
|
|
||||||
testCfgs := []Config{
|
testCfgs := []Config{
|
||||||
Config{
|
{
|
||||||
Endpoints: []string{"http://254.0.0.1:12345"},
|
Endpoints: []string{"http://254.0.0.1:12345"},
|
||||||
DialTimeout: 2 * time.Second,
|
DialTimeout: 2 * time.Second,
|
||||||
},
|
},
|
||||||
Config{
|
{
|
||||||
Endpoints: []string{"http://254.0.0.1:12345"},
|
Endpoints: []string{"http://254.0.0.1:12345"},
|
||||||
DialTimeout: time.Second,
|
DialTimeout: time.Second,
|
||||||
Username: "abc",
|
Username: "abc",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user