summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Sirgo Rica <asirgo@soleta.eu>2024-08-06 10:35:17 +0200
committerAlejandro Sirgo Rica <asirgo@soleta.eu>2024-08-06 10:35:17 +0200
commit4c1a86249b295368b7a933a50e36beaad5926c55 (patch)
treed51c80f0dad34871f25a9c6bef961f5708f3baa1
parent8e16c319528972048247a903f7acace6c4eeefa9 (diff)
views: fix image create backtracev1.1.3-28
Fix backtrace caused by efd0b8ac Don't access the field scopes in ImageCreateForm as it does not exist.
-rw-r--r--ogcp/views.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/ogcp/views.py b/ogcp/views.py
index 6b8607e..6d729f3 100644
--- a/ogcp/views.py
+++ b/ogcp/views.py
@@ -2357,8 +2357,6 @@ def action_image_create():
if client_repo_id == repo['id']]
form.repository.render_kw = {'readonly': True}
- form.scopes.choices = get_available_centers()
-
scopes, clients = get_scopes(set(ips))
return render_template('actions/image_create.html', form=form,
scopes=scopes)