Merge pull request #628 from chchliang/containerdanalyz
Closed stream in store.go Active()
This commit is contained in:
commit
92c7ed08b4
1 changed files with 2 additions and 0 deletions
|
@ -311,6 +311,8 @@ func (s *Store) Active() ([]Status, error) {
|
|||
return nil, err
|
||||
}
|
||||
|
||||
defer fp.Close()
|
||||
|
||||
fis, err := fp.Readdir(-1)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
|
Loading…
Reference in a new issue