diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-10-23 09:06:39 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-10-23 09:06:39 +0300 |
commit | 90cdc9391171e1be29b2b57a2e2aad0c02c2a7a9 (patch) | |
tree | 06156e751d516e3d43d3981bdd6c41784a7acc71 /scripts/review_apps | |
parent | 8c7eab92cd0009f55cb999bbade43e0f969c137e (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'scripts/review_apps')
-rwxr-xr-x | scripts/review_apps/automated_cleanup.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/review_apps/automated_cleanup.rb b/scripts/review_apps/automated_cleanup.rb index 9edc1a2b857..65d03f50422 100755 --- a/scripts/review_apps/automated_cleanup.rb +++ b/scripts/review_apps/automated_cleanup.rb @@ -62,7 +62,7 @@ class AutomatedCleanup gitlab.deployments(project_path, per_page: DEPLOYMENTS_PER_PAGE).auto_paginate do |deployment| environment = deployment.environment - next unless environment.name.start_with?('review/') + next unless !environment.nil? && environment.name.start_with?('review/') next if checked_environments.include?(environment.slug) last_deploy = deployment.created_at |