1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-06-23 19:11:40 +02:00

Revert "close opened file"

This reverts commit 2880160113.
This commit is contained in:
Chris Lu 2021-01-12 11:07:14 -08:00
parent 2880160113
commit 1c7faf1100

View file

@ -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, ","),