diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2018-08-27 20:51:21 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2018-08-27 20:51:21 +1000 |
commit | 203ad29349ffa5d935db5d0d320b758a4be7e4b8 (patch) | |
tree | 0b4091329d35f09e22310f013c13ef329c64e4ed /pkg/updates | |
parent | 04735d0601d8a1a274113eea4838bf9865e46230 (diff) |
use logrus entry rather than logger
Diffstat (limited to 'pkg/updates')
-rw-r--r-- | pkg/updates/updates.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/updates/updates.go b/pkg/updates/updates.go index 7de71f7a6..20f05d87e 100644 --- a/pkg/updates/updates.go +++ b/pkg/updates/updates.go @@ -41,7 +41,7 @@ var ( ) // NewUpdater creates a new updater -func NewUpdater(log *logrus.Logger, config config.AppConfigurer, osCommand *commands.OSCommand, tr *i18n.Localizer) (*Updater, error) { +func NewUpdater(log *logrus.Entry, config config.AppConfigurer, osCommand *commands.OSCommand, tr *i18n.Localizer) (*Updater, error) { contextLogger := log.WithField("context", "updates") updater := &Updater{ |