Fix linter warnings
This commit is contained in:
@@ -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!")
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user