diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-12 18:15:44 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-12 18:15:44 +0300 |
commit | c1a7bcdf1bfef9455bc58b1737f52530bf681a90 (patch) | |
tree | fb683b37e3ef58bb7bd7698629796ed9c5bfbeae /app/workers | |
parent | e0d7577e29dcab90623e1f38cf11b351c665ee23 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/workers')
-rw-r--r-- | app/workers/concerns/cluster_cleanup_methods.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/app/workers/concerns/cluster_cleanup_methods.rb b/app/workers/concerns/cluster_cleanup_methods.rb index 04fa4d69666..c0e670dfbe7 100644 --- a/app/workers/concerns/cluster_cleanup_methods.rb +++ b/app/workers/concerns/cluster_cleanup_methods.rb @@ -55,19 +55,12 @@ module ClusterCleanupMethods cluster.make_cleanup_errored!("#{self.class.name} exceeded the execution limit") end - def cluster_applications_and_status(cluster) - cluster.persisted_applications - .map { |application| "#{application.name}:#{application.status_name}" } - .join(",") - end - def log_exceeded_execution_limit_error(cluster) logger.error({ exception: ExceededExecutionLimitError.name, cluster_id: cluster.id, class_name: self.class.name, cleanup_status: cluster.cleanup_status_name, - applications: cluster_applications_and_status(cluster), event: :failed_to_remove_cluster_and_resources, message: "exceeded execution limit of #{execution_limit} tries" }) |