Skip to content

Commit

Permalink
Merge pull request #1823 from parkerduckworth/bugfix/deprecation-typo
Browse files Browse the repository at this point in the history
Fix deprecation log field typo
  • Loading branch information
etiennedi committed Feb 27, 2022
2 parents c997da2 + c1d8090 commit 7d086c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deprecations/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ import "github.com/sirupsen/logrus"
//go:generate goimports -w data.go

func Log(logger logrus.FieldLogger, id string) {
logger.WithField("depreaction", ByID[id]).Warning(ByID[id].Msg)
logger.WithField("deprecation", ByID[id]).Warning(ByID[id].Msg)
}

0 comments on commit 7d086c9

Please sign in to comment.