Skip to content

Commit 1bdb4c2

Browse files
authored
Fix the pipeline script crash. (#207)
1 parent 622c1f3 commit 1bdb4c2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.buildkite/scripts/build-pipeline/generate-steps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def generate_steps_for_scheduler(versions) -> list:
4242
steps: list = []
4343
snapshots = versions["snapshots"]
4444
for snapshot_version in snapshots:
45-
if snapshots.get(snapshot_version,"").startswith("7."):
45+
if snapshots[snapshot_version] is None or snapshots[snapshot_version].startswith("7."):
4646
continue
4747
full_stack_version = snapshots[snapshot_version]
4848
version_parts = snapshots[snapshot_version].split(".")

.buildkite/scripts/e2e-pipeline/generate-steps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def generate_steps_for_scheduler(versions) -> list:
3838
steps: list = []
3939
snapshots = versions["snapshots"]
4040
for snapshot_version in snapshots:
41-
if snapshots.get(snapshot_version,"").startswith("7."):
41+
if snapshots[snapshot_version] is None or snapshots[snapshot_version].startswith("7."):
4242
continue
4343
full_stack_version = snapshots[snapshot_version]
4444
version_parts = snapshots[snapshot_version].split(".")

0 commit comments

Comments
 (0)