Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

close directory after reading config files

Change-Id: I66caf737325937298b03596767ab66cea478de4c
  • Loading branch information...
commit 9244ee3ece2e1b18de1d0f245dd9919dca1ec13c 1 parent 792a82b
@dougm dougm authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  configmanager.go
View
1  configmanager.go
@@ -150,6 +150,7 @@ func (c *ConfigManager) parseDir(dirPath string) error {
if err != nil {
return err
}
+ defer dir.Close()
dirNames, err := dir.Readdirnames(-1)
if err != nil {
Please sign in to comment.
Something went wrong with that request. Please try again.