mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-26 12:57:44 +08:00
fix(config, eventlog) use int. it plays nicely with everyone else
This commit is contained in:
parent
d1da1d40c2
commit
bbc9715d4b
@ -2,7 +2,7 @@ package config
|
||||
|
||||
|
||||
type Log struct {
|
||||
MaxSizeMB uint64
|
||||
MaxBackups uint64
|
||||
MaxAgeDays uint64
|
||||
MaxSizeMB int
|
||||
MaxBackups int
|
||||
MaxAgeDays int
|
||||
}
|
||||
|
||||
6
thirdparty/eventlog/option.go
vendored
6
thirdparty/eventlog/option.go
vendored
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user