Skip to content

Commit

Permalink
add get last possible value from task arn (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
kylejn27 authored and jacobtomlinson committed Oct 9, 2019
1 parent b0bae69 commit a79bdc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dask_cloudprovider/providers/aws/ecs.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ async def close(self, **kwargs):

@property
def task_id(self):
return self.task_arn.split("/")[1]
return self.task_arn.split("/")[-1]

@property
def _log_stream_name(self):
Expand Down

0 comments on commit a79bdc5

Please sign in to comment.