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

feat!: add ability to retain snapshot after cleanup #407

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Oct 18, 2024

  1. feat!: add ability to retain snapshot after cleanup

    This allows for marking snapshots to be kept at time of creation
    instead of being cleaned up automatically. This allows for still using
    context managers for easy cleanup while retaining snapshots where
    desired. This functionality can also be used when not using context
    managers and instead the cloud.clean() method is manually called,
    like in cloud-init's integration tests.
    
    BREAKING CHANGE: signature of cloud.snapshot() public method has
    been changed and now all args except for the first (instance)
    must be passed as named args.
    a-dubs committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    1b4a56c View commit details
    Browse the repository at this point in the history