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:
Anthony Lin 2018-01-03 16:02:39 +00:00
parent 295835cf2c
commit b12931b935
1 changed files with 1 additions and 1 deletions

View File

@ -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: