summaryrefslogtreecommitdiffstats
path: root/ogcp/views.py
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2024-02-21 10:38:52 +0100
committerOpenGnSys Support Team <soporte-og@soleta.eu>2024-02-21 10:38:52 +0100
commitf6f84cf8b24a9a3e52ce56c5f69a4ee5878a61c1 (patch)
treef5b880496e4d6b1e43e130f6efad2979e1163477 /ogcp/views.py
parentf18f98901157c037130e443cad5a3ebb0c95a77c (diff)
views: use PART_TYPE_CODES, not PART_CODES1.1.3-18
Diffstat (limited to 'ogcp/views.py')
-rw-r--r--ogcp/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ogcp/views.py b/ogcp/views.py
index 96ca852..fe3902b 100644
--- a/ogcp/views.py
+++ b/ogcp/views.py
@@ -831,7 +831,7 @@ def action_image_restore():
form.partition.choices = [
(f"{disk_id} {part_id}",
f"Disk {disk_id} | Partition {part_id} "
- f"| {PART_CODES.get(part_code, 'UNKNOWN')} "
+ f"| {PART_TYPE_CODES.get(part_code, 'UNKNOWN')} "
f"{FS_CODES.get(filesystem, 'UNKNOWN')}")
for disk_id, part_id, part_code, filesystem in part_choices ]
scopes, clients = get_scopes(set(ips))