summaryrefslogtreecommitdiffstats
path: root/ogcp/views.py
diff options
context:
space:
mode:
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))