From 75282a0f3362b28d20e988351ed788e0b5f6583a Mon Sep 17 00:00:00 2001 From: Akshay Shah Date: Sun, 19 Feb 2017 10:26:25 -0800 Subject: [PATCH] [breaking] Fix spelling of config JSON key (#317) Like a dummy, I misspelled "thereafter" in the JSON config key. Fixing this is technically a breaking change, but I think it's worthwhile. --- config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.go b/config.go index 3231caf3c..b117b5781 100644 --- a/config.go +++ b/config.go @@ -35,7 +35,7 @@ import ( // Values configured here are per-second. See zapcore.NewSampler for details. type SamplingConfig struct { Initial int `json:"initial" yaml:"initial"` - Thereafter int `json:"therafter" yaml:"thereafter"` + Thereafter int `json:"thereafter" yaml:"thereafter"` } // Config offers a declarative way to construct a logger.