Image Creation Message Corrected + ucloud-host read Physical Device for VXLAN from .env

This commit is contained in:
ahmadbilalkhalid 2019-11-12 15:26:10 +05:00
commit 5d613df33d
5 changed files with 183 additions and 3 deletions

View file

@ -108,7 +108,7 @@ class CreateImage(Resource):
os.path.join(IMAGE_PREFIX, data["uuid"]), json.dumps(image_entry_json)
)
return {"message": "Image successfully created"}
return {"message": "Image queued for creation."}
return validator.get_errors(), 400