Skip to content

Commit

Permalink
Merge pull request sirupsen#991 from muesli/conversion-fixes
Browse files Browse the repository at this point in the history
Avoid unnecessary conversion
  • Loading branch information
Edward Muller authored Oct 12, 2019
2 parents 8598f72 + de4fc03 commit cea2e59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logrus.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func (level *Level) UnmarshalText(text []byte) error {
return err
}

*level = Level(l)
*level = l

return nil
}
Expand Down

0 comments on commit cea2e59

Please sign in to comment.