提交 bbc9715d 作者: Brian Tiger Chow

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

上级 d1da1d40
...@@ -2,7 +2,7 @@ package config ...@@ -2,7 +2,7 @@ package config
type Log struct { type Log struct {
MaxSizeMB uint64 MaxSizeMB int
MaxBackups uint64 MaxBackups int
MaxAgeDays uint64 MaxAgeDays int
} }
...@@ -38,9 +38,9 @@ var TextFormatter = func() { ...@@ -38,9 +38,9 @@ var TextFormatter = func() {
type LogRotatorConfig struct { type LogRotatorConfig struct {
Filename string Filename string
MaxSizeMB uint64 MaxSizeMB int
MaxBackups uint64 MaxBackups int
MaxAgeDays uint64 MaxAgeDays int
} }
func Output(w io.Writer) Option { func Output(w io.Writer) Option {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论