Fix defer cache.DB.close

This commit is contained in:
Kota Kanbe
2016-10-01 12:38:51 +09:00
parent 73ebb94f67
commit 2f89a24100

View File

@@ -451,7 +451,7 @@ func Scan() []error {
defer func() {
if cache.DB != nil {
defer cache.DB.Close()
cache.DB.Close()
}
}()