From 54eac40f645cc94371f110bf735c6b59da1c5b53 Mon Sep 17 00:00:00 2001 From: Helin Wang Date: Thu, 27 Jul 2017 20:52:36 +0000 Subject: [PATCH] fix according to comments --- go/master/etcd_client.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/go/master/etcd_client.go b/go/master/etcd_client.go index 15833eaeeeb..94848d887e8 100644 --- a/go/master/etcd_client.go +++ b/go/master/etcd_client.go @@ -45,10 +45,6 @@ type EtcdClient struct { // NewEtcdClient creates a new EtcdClient. func NewEtcdClient(endpoints []string, addr string, lockPath, addrPath, statePath string, ttlSec int) (*EtcdClient, error) { log.Debugf("Connecting to etcd at %v", endpoints) - // TODO(helin): gracefully shutdown etcd store. Because etcd - // store holds a etcd lock, even though the lock will expire - // when the lease timeout, we need to implement graceful - // shutdown to release the lock. cli, err := clientv3.New(clientv3.Config{ Endpoints: endpoints, DialTimeout: dialTimeout, -- GitLab