X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FLW-UI.git;a=blobdiff_plain;f=instancehandler%2Fviews.py;h=d71cd3278f17ea46efa346ce7c65ef385e8e15d8;hp=e38e586f468f70168ffc7d4ac15e0c9abab04a94;hb=91cd0dc4b0651b16aa17c742fc6dea211ef9c5df;hpb=1e3200610a98085cb6a2529e7d728927ca2813ca diff --git a/instancehandler/views.py b/instancehandler/views.py index e38e586..d71cd32 100644 --- a/instancehandler/views.py +++ b/instancehandler/views.py @@ -65,7 +65,7 @@ def create(request): "vimAccountId": request.POST.get('vimAccountId', ''), } if 'ssh_key' in request.POST and request.POST.get('ssh_key') != '': - ns_data["ssh_keys"] = request.POST.get('ssh_key') + ns_data["ssh_keys"] = [request.POST.get('ssh_key')] if 'config' in request.POST: ns_config = yaml.load(request.POST.get('config'))