Skip to content

Commit

Permalink
[breaking] Fix spelling of config JSON key (#317)
Browse files Browse the repository at this point in the history
Like a dummy, I misspelled "thereafter" in the JSON config key. Fixing this is
technically a breaking change, but I think it's worthwhile.
  • Loading branch information
akshayjshah committed Feb 19, 2017
1 parent 5e71114 commit 75282a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 75282a0

Please sign in to comment.