aboutsummaryrefslogtreecommitdiff
path: root/modules/log
diff options
context:
space:
mode:
authorJustin Nuß <justin.nuss@hmmh.de>2014-08-04 10:37:57 +0200
committerJustin Nuß <justin.nuss@hmmh.de>2014-08-04 10:37:57 +0200
commit8023494a94d842963c157e5647b9c1b62b6ea0a8 (patch)
tree74d2537b581ec04cb0313822e3561f79929979a5 /modules/log
parent755eec745fa324fdd13078f0147638f8731652ba (diff)
Fix invalid struct tags and remove unreachable code.
Diffstat (limited to 'modules/log')
-rw-r--r--modules/log/file.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/log/file.go b/modules/log/file.go
index cce53529..52a2f68c 100644
--- a/modules/log/file.go
+++ b/modules/log/file.go
@@ -34,7 +34,7 @@ type FileLogWriter struct {
// Rotate daily
Daily bool `json:"daily"`
- Maxdays int64 `json:"maxdays`
+ Maxdays int64 `json:"maxdays"`
daily_opendate int
Rotate bool `json:"rotate"`