mirror of https://git.48k.eu/ogcp
views: fix image create backtrace
Fix backtrace caused by efd0b8ac
Don't access the field scopes in ImageCreateForm as it does not
exist.
master
v1.1.3-28
parent
8e16c31952
commit
4c1a86249b
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue