From a0149106b85129ccb63f293ff4c55e5c955ca75f Mon Sep 17 00:00:00 2001 From: Anthony Romano Date: Mon, 3 Apr 2017 14:00:06 -0700 Subject: [PATCH] clientv3: fix go1.8 go fmt warning in test --- clientv3/client_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clientv3/client_test.go b/clientv3/client_test.go index db863a2c6e2..dd3e144b7fe 100644 --- a/clientv3/client_test.go +++ b/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",