Merge pull request #991 from muesli/conversion-fixes

Avoid unnecessary conversion
This commit is contained in:
Edward Muller 2019-10-12 11:05:20 -07:00 committed by GitHub
commit 39a5ad1294
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ func (level *Level) UnmarshalText(text []byte) error {
return err
}
*level = Level(l)
*level = l
return nil
}