From deb30b500f8d77cfc3cbb96e0374b867b8b8dd17 Mon Sep 17 00:00:00 2001 From: Gyuho Lee Date: Thu, 8 Feb 2018 13:35:51 -0800 Subject: [PATCH] tools/etcd-test-proxy: remove newline in "Fprintln" Fix govet warnings with Go tip ``` tools/etcd-test-proxy/main.go:47: Fprintln arg list ends with redundant newline ``` Signed-off-by: Gyuho Lee --- tools/etcd-test-proxy/main.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/etcd-test-proxy/main.go b/tools/etcd-test-proxy/main.go index 812edcbaf..18b8cdcde 100644 --- a/tools/etcd-test-proxy/main.go +++ b/tools/etcd-test-proxy/main.go @@ -62,8 +62,7 @@ $ ./bin/etcd-test-proxy --help $ ./bin/etcd-test-proxy --from localhost:23790 --to localhost:2379 --http-port 2378 --verbose $ ETCDCTL_API=3 ./bin/etcdctl --endpoints localhost:2379 put foo bar -$ ETCDCTL_API=3 ./bin/etcdctl --endpoints localhost:23790 put foo bar -`) +$ ETCDCTL_API=3 ./bin/etcdctl --endpoints localhost:23790 put foo bar`) flag.PrintDefaults() }