Skip to content

Commit e7d4e89

Browse files
committed
fix condition
1 parent 3032150 commit e7d4e89

File tree

1 file changed

+1
-1
lines changed
  • python_modules/dagster/dagster/_core/instance

1 file changed

+1
-1
lines changed

python_modules/dagster/dagster/_core/instance/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1669,7 +1669,7 @@ def create_reexecuted_run(
16691669
# if the run was part of a backfill and the backfill is complete, we do not want the
16701670
# retry to be considered part of the backfill, so remove all backfill-related tags
16711671
backfill = self.get_backfill(parent_run.tags[BACKFILL_ID_TAG])
1672-
if backfill.status == BulkActionStatus.REQUESTED:
1672+
if backfill and backfill.status == BulkActionStatus.REQUESTED:
16731673
for tag in BACKFILL_TAGS:
16741674
if parent_run.tags.get(tag) is not None:
16751675
parent_run_tags[tag] = parent_run.tags[tag]

0 commit comments

Comments
 (0)