From: lombardofr Date: Wed, 31 Oct 2018 08:29:53 +0000 (+0100) Subject: FIX bug 576 X-Git-Tag: v5.0.0~17 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F05%2F6805%2F1;p=osm%2FLW-UI.git FIX bug 576 Change-Id: I0c154cc730e13e860880cbb06091ed6ee5fbba11 --- 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'))