Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessio Caiazza <acaiazza@gitlab.com>2017-11-06 12:23:15 +0300
committerAlessio Caiazza <acaiazza@gitlab.com>2017-11-06 12:23:15 +0300
commit80b0834ae96480202678d8ca1e19c0ee4abf9001 (patch)
treea21e434355a170350086114cb0f89f9ab7785d73 /app/services/clusters
parentc6c9b37b1d1c9304b0eef530adb4d32178adae16 (diff)
Add Clusters::Appplications::CheckInstallationProgressService tests
Diffstat (limited to 'app/services/clusters')
-rw-r--r--app/services/clusters/applications/check_installation_progress_service.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/services/clusters/applications/check_installation_progress_service.rb b/app/services/clusters/applications/check_installation_progress_service.rb
index cf96c128c2e..81306a2ff5b 100644
--- a/app/services/clusters/applications/check_installation_progress_service.rb
+++ b/app/services/clusters/applications/check_installation_progress_service.rb
@@ -27,13 +27,13 @@ module Clusters
end
def on_failed
- app.make_errored!(log || 'Installation silently failed')
+ app.make_errored!(installation_errors || 'Installation silently failed')
finalize_installation
end
def check_timeout
if Time.now.utc - app.updated_at.to_time.utc > ClusterWaitForAppInstallationWorker::TIMEOUT
- app.make_errored!('App installation timeouted')
+ app.make_errored!('Installation timeouted')
else
ClusterWaitForAppInstallationWorker.perform_in(
ClusterWaitForAppInstallationWorker::INTERVAL, app.name, app.id)