fix: stepfunction stop_execution
Fixes #2846 Calling stop_execution on a stepfunction should set the status to `ABORTED` not `SUCCEEDED`.
This commit is contained in:
parent
95e95cc97d
commit
bb8d418054
2 changed files with 2 additions and 2 deletions
|
|
@ -46,7 +46,7 @@ class Execution:
|
|||
self.stop_date = None
|
||||
|
||||
def stop(self):
|
||||
self.status = "SUCCEEDED"
|
||||
self.status = "ABORTED"
|
||||
self.stop_date = iso_8601_datetime_without_milliseconds(datetime.now())
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue