@cryptotaxi247 / kubo / commits / bbc9715d4

fix(config, eventlog) use int. it plays nicely with everyone else

Brian Tiger Chow committed Feb 3, 2015 at 17:19 UTC bbc9715d4b005877eb73330d03a56b66c36cdec9
2 files changed +6 -6
repo/config/log.go
+3 -3
@@ -2,7 +2,7 @@ package config
2
3
4 type Log struct {
5 - MaxSizeMB uint64
6 - MaxBackups uint64
7 - MaxAgeDays uint64
5 + MaxSizeMB int
6 + MaxBackups int
7 + MaxAgeDays int
8 }
thirdparty/eventlog/option.go
+3 -3
@@ -38,9 +38,9 @@ var TextFormatter = func() {
38
39 type LogRotatorConfig struct {
40 Filename string
41 - MaxSizeMB uint64
42 - MaxBackups uint64
43 - MaxAgeDays uint64
41 + MaxSizeMB int
42 + MaxBackups int
43 + MaxAgeDays int
44 }
45
46 func Output(w io.Writer) Option {