summaryrefslogtreecommitdiffstats
path: root/ogcp/og_server.py
diff options
context:
space:
mode:
authorAlejandro Sirgo Rica <asirgo@soleta.eu>2024-05-09 11:25:58 +0200
committerAlejandro Sirgo Rica <asirgo@soleta.eu>2024-05-09 12:00:58 +0200
commit30562a9af524da8cbd08592b74d788ce3a9405e1 (patch)
tree21e7daf23707c25b6550ed7e2c45966ac0cb47c6 /ogcp/og_server.py
parentdd77bc380e5ce0c5d9cb34e236a61837aea66261 (diff)
views: prevent image restore on invalid partition types
Add partition type info to the form data. Check if the user is trying to restore on an invalid partition type and report an error if that's the case. The invalid types are 'EMPTY', 'LINUX-SWAP', 'CACHE', 'EFI' and 'WIN-RECOV'.
Diffstat (limited to 'ogcp/og_server.py')
0 files changed, 0 insertions, 0 deletions