Skip to content

Commit

Permalink
Merge pull request #5 from brianlaoaws/github-fork/master-2
Browse files Browse the repository at this point in the history
Add new operation status translation
  • Loading branch information
brianlaoaws authored Aug 7, 2024
2 parents d38936a + 88b6713 commit c612542
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cloudformation_cli_python_lib/hook.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,8 @@ def _get_hook_status(operation_status: OperationStatus) -> HookStatus:
hook_status = HookStatus.IN_PROGRESS
elif operation_status == OperationStatus.SUCCESS:
hook_status = HookStatus.SUCCESS
elif operation_status == OperationStatus.CHANGE_SET_SUCCESS_SKIP_STACK_HOOK:
hook_status = HookStatus.CHANGE_SET_SUCCESS_SKIP_STACK_HOOK
else:
hook_status = HookStatus.FAILED
return hook_status

0 comments on commit c612542

Please sign in to comment.