From 27ed6da45f1263d1ce20b694b5a873e3852fb7df Mon Sep 17 00:00:00 2001 From: Patrick Pacher Date: Tue, 21 Apr 2020 15:36:06 +0200 Subject: [PATCH] Fix linter warnings --- updates/config.go | 2 +- updates/main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/updates/config.go b/updates/config.go index 6fd90a67..5cf70c53 100644 --- a/updates/config.go +++ b/updates/config.go @@ -88,7 +88,7 @@ func updateRegistryConfig(_ context.Context, _ interface{}) error { if forceUpdate { module.Resolve(updateFailed) - TriggerUpdate() + _ = TriggerUpdate() log.Infof("Automatic updates enabled again.") } else { module.Warning(updateFailed, "Updates are disabled!") diff --git a/updates/main.go b/updates/main.go index c1040d42..a03f822d 100644 --- a/updates/main.go +++ b/updates/main.go @@ -90,7 +90,7 @@ func start() error { TriggerUpdateEvent, "Check for and download available updates", func(context.Context, interface{}) error { - TriggerUpdate() + _ = TriggerUpdate() return nil }, ); err != nil {