get_parameters should list InvalidParameters
Signed-off-by: Ali Rizwan <ari@hellofresh.com>
This commit is contained in:
parent
0b8cf14706
commit
1c96335895
2 changed files with 18 additions and 2 deletions
|
|
@ -57,6 +57,10 @@ class SimpleSystemManagerResponse(BaseResponse):
|
|||
param_data = parameter.response_object(with_decryption)
|
||||
response['Parameters'].append(param_data)
|
||||
|
||||
param_names = [param.name for param in result]
|
||||
for name in names:
|
||||
if name not in param_names:
|
||||
response['InvalidParameters'].append(name)
|
||||
return json.dumps(response)
|
||||
|
||||
def describe_parameters(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue