Skip to content

Commit

Permalink
fixed local_ds resolution after v2.4.0 upgrade (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
valayDave authored Oct 7, 2021
1 parent 064b465 commit 570c8dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion metaflowbot/actions/runs/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def step_resolver(steps, max_steps=SLACK_MAX_BLOCKS):
# to derive datastore location we use name as a heuristic
if 'name' in tasks[0]:
object_storage_loc = tasks[0]['name']._object['location']
if not object_storage_loc.startswith('s3://'):
if 's3://' not in object_storage_loc:
# As task.successful is linked to S3
# We check : https://github.com/Netflix/metaflow/blob/9f832e62b3d4288acae8de483dc5709d660dc347/metaflow/client/core.py#L712
local_ds = True
Expand Down
2 changes: 1 addition & 1 deletion metaflowbot/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.0.2"
__version__ = "1.0.3"

0 comments on commit 570c8dc

Please sign in to comment.