From bbc9715d4b005877eb73330d03a56b66c36cdec9 Mon Sep 17 00:00:00 2001 From: Brian Tiger Chow Date: Tue, 3 Feb 2015 17:19:05 -0800 Subject: [PATCH] fix(config, eventlog) use int. it plays nicely with everyone else --- repo/config/log.go | 6 +++--- thirdparty/eventlog/option.go | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/repo/config/log.go b/repo/config/log.go index 50e7243d4..abaa5c7cb 100644 --- a/repo/config/log.go +++ b/repo/config/log.go @@ -2,7 +2,7 @@ package config type Log struct { - MaxSizeMB uint64 - MaxBackups uint64 - MaxAgeDays uint64 + MaxSizeMB int + MaxBackups int + MaxAgeDays int } diff --git a/thirdparty/eventlog/option.go b/thirdparty/eventlog/option.go index 9ab80cb4c..d44630afb 100644 --- a/thirdparty/eventlog/option.go +++ b/thirdparty/eventlog/option.go @@ -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 {