From 944bbef6afde3de305f40ba021d64a68e6d5e91d Mon Sep 17 00:00:00 2001 From: Greg Brockman Date: Fri, 6 Nov 2015 00:34:20 -0800 Subject: [PATCH] Correct typo in comment --- physical/etcd.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/physical/etcd.go b/physical/etcd.go index fa1398617d..7b3133e02c 100644 --- a/physical/etcd.go +++ b/physical/etcd.go @@ -81,6 +81,8 @@ func newEtcdBackend(conf map[string]string) (Backend, error) { } machinesParsed := strings.Split(machines, EtcdMachineDelimiter) + // Create a new client from the supplied address and attempt to sync with the + // cluster. var client *etcd.Client cert, has_cert := conf["tls_cert_file"] key, has_key := conf["tls_key_file"] @@ -92,8 +94,6 @@ func newEtcdBackend(conf map[string]string) (Backend, error) { return nil, err } } else { - // Create a new client from the supplied addres and attempt to sync with the - // cluster. client = etcd.NewClient(machinesParsed) } if !client.SyncCluster() {