Skip to content

Commit

Permalink
Merge pull request sirupsen#467 from bengadbois/small_code_cleanup
Browse files Browse the repository at this point in the history
Small var declaration cleanup
  • Loading branch information
stevvooe authored Jan 13, 2017
2 parents de5ef5d + 49dea0a commit eabb284
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion text_formatter.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ type TextFormatter struct {

func (f *TextFormatter) Format(entry *Entry) ([]byte, error) {
var b *bytes.Buffer
var keys []string = make([]string, 0, len(entry.Data))
keys := make([]string, 0, len(entry.Data))
for k := range entry.Data {
keys = append(keys, k)
}
Expand Down

0 comments on commit eabb284

Please sign in to comment.