Skip to content
Snippets Groups Projects
Commit 2b580be4 authored by ale's avatar ale
Browse files

golint fixes

parent f67cdadd
No related branches found
No related tags found
No related merge requests found
......@@ -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 != "" {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment