From d925e85653f38beb3c81a9255010f32f54924f22 Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Mon, 22 Jun 2015 17:38:22 +0200 Subject: [PATCH] Fixed Spelling --- Templates/Init.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Templates/Init.go b/Templates/Init.go index 2512925..5a73d28 100644 --- a/Templates/Init.go +++ b/Templates/Init.go @@ -26,7 +26,7 @@ func init() { Log.LogFull(senderName, LM.CategorySYSTEM, LM.LevelERROR, LM.SeverityCritical, LM.ImpactCritical, LM.MessageNameDATABASE, `Was not able to open the templates out of the GridFS!`, errGridFile.Error()) return } else { - // Read all data in the memory cache: + // Read all data in the cache: defer gridFile.Close() Log.LogShort(senderName, LM.CategorySYSTEM, LM.LevelINFO, LM.MessageNameCONFIGURATION, `Read the templates.zip file from the grid file system.`, `Upload time UTC: `+Tools.FormatTime(gridFile.UploadDate().UTC())) if data, ioError := ioutil.ReadAll(gridFile); ioError != nil {