mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-12-18 12:47:50 +08:00
close opened file
This commit is contained in:
parent
0ef43a23a7
commit
2880160113
@ -47,6 +47,7 @@ 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…
Reference in New Issue
Block a user