Skip to content

Commit 570c8dc

Browse files
authored
fixed local_ds resolution after v2.4.0 upgrade (#6)
1 parent 064b465 commit 570c8dc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

metaflowbot/actions/runs/commands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def step_resolver(steps, max_steps=SLACK_MAX_BLOCKS):
119119
# to derive datastore location we use name as a heuristic
120120
if 'name' in tasks[0]:
121121
object_storage_loc = tasks[0]['name']._object['location']
122-
if not object_storage_loc.startswith('s3://'):
122+
if 's3://' not in object_storage_loc:
123123
# As task.successful is linked to S3
124124
# We check : https://github.com/Netflix/metaflow/blob/9f832e62b3d4288acae8de483dc5709d660dc347/metaflow/client/core.py#L712
125125
local_ds = True

metaflowbot/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.0.2"
1+
__version__ = "1.0.3"

0 commit comments

Comments
 (0)