Update for changed DownloadUpdates method signature

This commit is contained in:
Daniel
2023-10-02 16:06:10 +02:00
parent 5dab7c9f2b
commit 0fbd0a3ca6
3 changed files with 3 additions and 3 deletions

View File

@@ -287,7 +287,7 @@ func checkForUpdates(ctx context.Context) (err error) {
return //nolint:nakedret // TODO: Would "return err" work with the defer?
}
err = registry.DownloadUpdates(ctx, !forcedUpdate)
err = registry.DownloadUpdates(ctx, forcedUpdate)
if err != nil {
err = fmt.Errorf("failed to download updates: %w", err)
return //nolint:nakedret // TODO: Would "return err" work with the defer?