1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2026-01-03 22:39:23 +03:00

use logrus entry rather than logger

This commit is contained in:
Jesse Duffield
2018-08-27 20:51:21 +10:00
parent 04735d0601
commit 203ad29349

View File

@@ -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{