Skip to content

[bug] Remove file for assets.copy() instead of truncating#651

Merged
Cictrone merged 2 commits intomainfrom
asset-copy-no-truncate
Feb 21, 2024
Merged

[bug] Remove file for assets.copy() instead of truncating#651
Cictrone merged 2 commits intomainfrom
asset-copy-no-truncate

Conversation

@KCarretto
Copy link
Copy Markdown
Collaborator

What type of PR is this?

/kind bug

What this PR does / why we need it:

Updates assets.copy to remove files instead of truncating them. This will prevent the error "Text file busy (os error 26)" when attempting to overwrite a file that is currently in use by a running process.

@KCarretto KCarretto requested a review from hulto February 21, 2024 22:13
Copy link
Copy Markdown
Collaborator

@hulto hulto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Cictrone Cictrone merged commit d15355f into main Feb 21, 2024
@Cictrone Cictrone deleted the asset-copy-no-truncate branch February 21, 2024 22:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants