Update DryDock Operator
Upon review of standard responses, the validation responses were found to be using valid/invalid instead of success/failure. The validation response has been updated to use success/failure. This patch set is meant to update the operator. Change-Id: I9616c5e35270c6fb992488ca376a16be609886e5
This commit is contained in:
parent
295835cf2c
commit
b12931b935
@ -394,7 +394,7 @@ class DryDockOperator(BaseOperator):
|
||||
logging.info(json.loads(validate_site_design))
|
||||
|
||||
# Check if site design is valid
|
||||
if json.loads(validate_site_design).get('status') == 'Valid':
|
||||
if json.loads(validate_site_design).get('status') == 'Success':
|
||||
logging.info("DryDock Site Design has been successfully validated")
|
||||
return 'valid'
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user