Commit 2b580be4 authored by ale's avatar ale

golint fixes

parent f67cdadd
......@@ -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 != "" {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment