Skip to content

Commit e77f65c

Browse files
lucarin91dido18
andauthored
Apply suggestions from code review
Co-authored-by: Davide <[email protected]>
1 parent 7c69e44 commit e77f65c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/update/arduino/arduino.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ func (a *ArduinoPlatformUpdater) ListUpgradablePackages(ctx context.Context, _ f
8686
slog.Debug("downloading library index", "progress", curr.GetMessage())
8787
})
8888

89-
req := &rpc.UpdateLibrariesIndexRequest{Instance: inst, UpdateIfOlderThanSecs: 0}
89+
req := &rpc.UpdateLibrariesIndexRequest{Instance: inst}
9090
if err := srv.UpdateLibrariesIndex(req, streamLibIndex); err != nil {
9191
slog.Warn("error updating library index, skipping", slog.String("error", err.Error()))
9292
}

0 commit comments

Comments
 (0)