diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-02-21 10:38:52 +0100 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-02-21 10:38:52 +0100 |
commit | f6f84cf8b24a9a3e52ce56c5f69a4ee5878a61c1 (patch) | |
tree | f5b880496e4d6b1e43e130f6efad2979e1163477 | |
parent | f18f98901157c037130e443cad5a3ebb0c95a77c (diff) |
views: use PART_TYPE_CODES, not PART_CODES1.1.3-18
-rw-r--r-- | ogcp/views.py | 2 |
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)) |