Skip to content

Commit

Permalink
fix according to comments
Browse files Browse the repository at this point in the history
  • Loading branch information
helinwang committed Jul 27, 2017
1 parent 42fe3e8 commit 54eac40
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions go/master/etcd_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 54eac40

Please sign in to comment.