Fixing initial web form

This commit is contained in:
Jonathan Ervine
2020-12-15 23:15:31 +08:00
parent 6770612d74
commit 258793c6d8
2 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ import json
def index():
ns = get_namespaces()
form = deploySelectForm()
form.ns.choices = [(name['metadata']['name'], name['metadata']['name']) for name in ns['items']]
form.ns.choices = [(name.metadata.name, name.metadata.name) for name in ns.items]
return render_template('nameChartSelect.html', ns=ns, form=form)
@routes.route('/chartSelect', methods=['POST'])