-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pylxd/models: Adapt JSON parsing for older LXD versions
This check is important because older LXD versions' APIs don't include the `created_at` field and neither the `expires_at` field on /1.0/storage-pools/<pool>/volumes/custom/<volume_name>/snapshots responses. Signed-off-by: hamistao <[email protected]>
- Loading branch information
Showing
1 changed file
with
32 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters