mirror of https://github.com/databricks/cli.git
fix: Correct variable assignment in patchwheel seeker reset
This commit is contained in:
parent
7e747d29ac
commit
6b5fa7ad33
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue