diff --git a/libs/patchwheel/patch.go b/libs/patchwheel/patch.go index a1826c1f9..bef209d4d 100644 --- a/libs/patchwheel/patch.go +++ b/libs/patchwheel/patch.go @@ -235,7 +235,7 @@ func PatchWheel(ctx context.Context, path, outputDir string) (string, error) { } // Reset record reader to start - seeker := recordReader.(io.Seeker) + seeker = recordReader.(io.Seeker) seeker.Seek(0, io.SeekStart) newRecord, err := patchRecord(recordReader, oldDistInfoPrefix, newDistInfoPrefix, metadataHash, metadataSize)