提交 bbc9715d 作者: Brian Tiger Chow

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

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