app create with param file fails
Change-Id: I821ac51f0d0f0c994d131202de522968ca5c82c7 Closes-Bug: #1519805
This commit is contained in:
parent
de1f1e5af5
commit
d8bc34625c
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue