Compare commits

..

2 Commits

Author SHA1 Message Date
fa0e84e96e Bump version to 0.9.95 2024-02-09 12:42:00 -05:00
9cd88ebccb Ensure storage template disks are sorted 2024-02-09 12:40:20 -05:00
3 changed files with 4 additions and 2 deletions

View File

@ -3,6 +3,7 @@
###### [v0.9.95](https://github.com/parallelvirtualcluster/pvc/releases/tag/v0.9.95)
* [API Daemon/CLI Client] Adds a flag to allow duplicate VNIs in network templates
* [API Daemon] Ensures that storage template disks are returned in disk ID order
###### [v0.9.94](https://github.com/parallelvirtualcluster/pvc/releases/tag/v0.9.94)

View File

@ -125,7 +125,7 @@ def list_template(limit, table, is_fuzzy=True):
args = (template_data["id"],)
cur.execute(query, args)
disks = cur.fetchall()
data[template_id]["disks"] = disks
data[template_id]["disks"] = sorted(disks, key=lambda x: x["disk_id"])
close_database(conn, cur)

3
debian/changelog vendored
View File

@ -1,8 +1,9 @@
pvc (0.9.95-0) unstable; urgency=high
* [API Daemon/CLI Client] Adds a flag to allow duplicate VNIs in network templates
* [API Daemon] Ensures that storage template disks are returned in disk ID order
-- Joshua M. Boniface <joshua@boniface.me> Fri, 09 Feb 2024 12:14:02 -0500
-- Joshua M. Boniface <joshua@boniface.me> Fri, 09 Feb 2024 12:42:00 -0500
pvc (0.9.94-0) unstable; urgency=high