From 2b580be418d46d766b7c97108653fb6f8a5ae705 Mon Sep 17 00:00:00 2001 From: ale <ale@incal.net> Date: Sun, 26 Jul 2015 09:48:12 +0100 Subject: [PATCH] golint fixes --- etcd_client.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/etcd_client.go b/etcd_client.go index 7cdf32a0..46cb5ae2 100644 --- a/etcd_client.go +++ b/etcd_client.go @@ -46,7 +46,9 @@ func resolveAll(input []string, proto string) []string { } // NewEtcdClient creates a new etcd client. It uses command-line flags -// to find servers and connection parameters. +// to find servers and connection parameters. If the 'strongReads' +// argument is true, read requests will also be sent to the etcd +// master and should be able to see the effect of previous writes. func NewEtcdClient(strongReads bool) EtcdClient { proto := "http" if *etcdCertFile != "" && *etcdKeyFile != "" { -- GitLab