Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

truncate -image-refs file #855

Merged
merged 1 commit into from
Oct 18, 2022
Merged

Conversation

imjasonh
Copy link
Member

Before this change, the file at --image-refs would be opened, and written to from the beginning. If there were any existing contents in that file already, they would be potentially partially overwritten.

With this change, we open and truncate the file, so that any writes start from the beginning of a fresh new file.

This was reported via knative/serving#13408

@imjasonh imjasonh merged commit 3f08dc2 into ko-build:main Oct 18, 2022
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.

2 participants