Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Backport of cli: Fixup snapshot CLI when creating a file that might exist into release/0.11.x #4681

Conversation

hc-github-team-waypoint
Copy link
Collaborator

Backport

This PR is auto-generated from #4671 to be assessed for backporting due to the inclusion of the label backport/0.11.x.

The below text is copied from the body of the original PR.


Prior to this commit, the init writer for snapshot backups wouldn't validate the existence of the file its creating prior to creating it. This fixes that up by instead calling the OpenFile func with CREATE flags enabled.

Fixes WAYP-1150


Overview of commits

@hc-github-team-waypoint hc-github-team-waypoint merged commit b762ced into release/0.11.x May 9, 2023
@hc-github-team-waypoint hc-github-team-waypoint force-pushed the backport/bug/cli/fixup-snapshot-file-create/rarely-pumped-urchin branch from 0826b41 to 7a944e4 Compare May 9, 2023 18:10
@hc-github-team-waypoint hc-github-team-waypoint deleted the backport/bug/cli/fixup-snapshot-file-create/rarely-pumped-urchin branch May 9, 2023 18:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant