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

Fix test regression on LXD 4.0 #594

Merged
merged 4 commits into from
Jul 8, 2024

Commits on Jul 8, 2024

  1. Configuration menu
    Copy the full SHA
    c5b9709 View commit details
    Browse the repository at this point in the history
  2. pylxd/models: Use latest snapshot name if necessary

    Signed-off-by: hamistao <[email protected]>
    hamistao committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    bea1c58 View commit details
    Browse the repository at this point in the history
  3. pylxd/models: Adapt JSON parsing for older LXD versions

    Older LXD versions' APIs don't include:
    The `created_at` field,
    the `expires_at` field on /1.0/storage-pools/<pool>/volumes/custom/<volume_name>/snapshots,
    The `content_type` on /1.0/storage-pools/<pool>/volumes/custom/<volume_name>/snapshots/<snapshot_name>.
    
    Signed-off-by: hamistao <[email protected]>
    hamistao committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    4cb5c31 View commit details
    Browse the repository at this point in the history
  4. pylxd/models: Minor docstring correction

    Signed-off-by: hamistao <[email protected]>
    hamistao committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    9137f09 View commit details
    Browse the repository at this point in the history