Skip to content

Commit

Permalink
Remove leftover code in tools/ci/pr_preview.py (#21603)
Browse files Browse the repository at this point in the history
This was meant to bail after a single deployment on any given run, but I
failed to actually write 'return' so it never had any effect -_-. As it
turns out, we do very few deploys/run anyway.
  • Loading branch information
stephenmcgruer committed Feb 5, 2020
1 parent 920bfb5 commit 856a776
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tools/ci/pr_preview.py
Expand Up @@ -331,9 +331,6 @@ def synchronize(host, github_project, window):
project.create_deployment(
pull_request, revision_latest
)
# Temporarily bail after creating one deployment, to verify the
# end-to-end flow without spamming many PRs.
logger.info('Created one deployment, returning for testing purposes')
else:
logger.info('Pull Request should not be mirrored')

Expand Down

0 comments on commit 856a776

Please sign in to comment.