Merge "Reverting to Personality not set by default"

This commit is contained in:
Jenkins 2014-05-01 17:26:25 +00:00 committed by Gerrit Code Review
commit 883f59adf7

View File

@ -48,6 +48,10 @@ class CreateServer(AutoMarshallingModel):
self.scheduler_hints = scheduler_hints
def _obj_to_json(self):
if self.personality == []:
self.personality = None
body = {
'name': self.name,
'imageRef': self.image_ref,