clientv3: fix go1.8 go fmt warning in test

This commit is contained in:
Anthony Romano 2017-04-03 14:00:06 -07:00
parent e56e43064f
commit a0149106b8

View File

@ -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",