app create with param file fails
Change-Id: I821ac51f0d0f0c994d131202de522968ca5c82c7 Closes-Bug: #1519805
This commit is contained in:
@@ -729,6 +729,7 @@ Available commands:
|
|||||||
app_data['ports'] = port_list
|
app_data['ports'] = port_list
|
||||||
|
|
||||||
def _get_parameters(self, app_data, args):
|
def _get_parameters(self, app_data, args):
|
||||||
|
app_data['parameters'] = {}
|
||||||
if args.param_file is not None:
|
if args.param_file is not None:
|
||||||
try:
|
try:
|
||||||
with open(args.param_file) as param_f:
|
with open(args.param_file) as param_f:
|
||||||
@@ -865,6 +866,9 @@ Available commands:
|
|||||||
},
|
},
|
||||||
"ports": {
|
"ports": {
|
||||||
"type": "array"
|
"type": "array"
|
||||||
|
},
|
||||||
|
"parameters": {
|
||||||
|
"type": "array"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": ["version", "name", "description",
|
"required": ["version", "name", "description",
|
||||||
|
Reference in New Issue
Block a user