From b12931b935adae1681e7391258787f19350a54e7 Mon Sep 17 00:00:00 2001 From: Anthony Lin Date: Wed, 3 Jan 2018 16:02:39 +0000 Subject: [PATCH] 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 --- shipyard_airflow/plugins/drydock_operators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shipyard_airflow/plugins/drydock_operators.py b/shipyard_airflow/plugins/drydock_operators.py index 2ae01b2a..a7429cda 100644 --- a/shipyard_airflow/plugins/drydock_operators.py +++ b/shipyard_airflow/plugins/drydock_operators.py @@ -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: