Commit 2394d9e1 authored by Giorgos Verigakis's avatar Giorgos Verigakis
Browse files

Fix personality in server create

parent ce687c9f
...@@ -75,7 +75,7 @@ class ComputeClient(Client): ...@@ -75,7 +75,7 @@ class ComputeClient(Client):
'flavorRef': flavor_id, 'flavorRef': flavor_id,
'imageRef': image_id}} 'imageRef': image_id}}
if personality: if personality:
req['personality'] = personality req['server']['personality'] = personality
r = self.post('/servers', json=req, success=202) r = self.post('/servers', json=req, success=202)
return r.json['server'] return r.json['server']
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment