small fixes and dependency updates
This commit is contained in:
parent
e95910d920
commit
96405e2521
238 changed files with 3599 additions and 3467 deletions
|
|
@ -197,8 +197,11 @@ func (fs *FS) MkdirAll(p string, _ os.FileMode) error {
|
|||
|
||||
func (fs *FS) Close() error {
|
||||
fs.cancel()
|
||||
fs.client.Close()
|
||||
return fs.c.Close()
|
||||
err := fs.client.Close()
|
||||
if fs.c != nil {
|
||||
return fs.c.Close()
|
||||
}
|
||||
return err
|
||||
}
|
||||
|
||||
func (fs *FS) path(p string) string {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue