Browse Source

Revert "close opened file"

This reverts commit 2880160113.
pull/1743/head
Chris Lu 4 years ago
parent
commit
1c7faf1100
  1. 1
      weed/sequence/etcd_sequencer.go

1
weed/sequence/etcd_sequencer.go

@ -47,7 +47,6 @@ func NewEtcdSequencer(etcdUrls string, metaFolder string) (*EtcdSequencer, error
if nil != err {
return nil, fmt.Errorf("open sequence file fialed, %v", err)
}
defer file.Close()
cli, err := client.New(client.Config{
Endpoints: strings.Split(etcdUrls, ","),

Loading…
Cancel
Save