app create with param file fails

Change-Id: I821ac51f0d0f0c994d131202de522968ca5c82c7
Closes-Bug: #1519805
This commit is contained in:
Vijendar Komalla 2015-11-25 14:43:13 -06:00
parent de1f1e5af5
commit d8bc34625c
1 changed files with 4 additions and 0 deletions

View File

@ -729,6 +729,7 @@ Available commands:
app_data['ports'] = port_list
def _get_parameters(self, app_data, args):
app_data['parameters'] = {}
if args.param_file is not None:
try:
with open(args.param_file) as param_f:
@ -865,6 +866,9 @@ Available commands:
},
"ports": {
"type": "array"
},
"parameters": {
"type": "array"
}
},
"required": ["version", "name", "description",