Fix linter warnings

This commit is contained in:
Patrick Pacher 2020-04-21 15:36:06 +02:00
parent 9be175c238
commit 27ed6da45f
No known key found for this signature in database
GPG key ID: E8CD2DA160925A6D
2 changed files with 2 additions and 2 deletions

View file

@ -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!")

View file

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