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:
authorKamil Trzcinski <ayufan@ayufan.eu>2017-10-05 22:33:29 +0300
committerKamil Trzcinski <ayufan@ayufan.eu>2017-10-05 22:33:29 +0300
commit4cda11585c75ce923d357b0dbb91fb393ed8e303 (patch)
treef67a5375db33a4dc8d774732ae9514b540b4fb95 /app/workers
parent6712762b9d6e0391b1a38ca17cc3d982a336bbf9 (diff)
Fix almost all unresolved comments from Docs and UX review
Diffstat (limited to 'app/workers')
-rw-r--r--app/workers/wait_for_cluster_creation_worker.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/wait_for_cluster_creation_worker.rb b/app/workers/wait_for_cluster_creation_worker.rb
index f72bf409b20..eab340070e1 100644
--- a/app/workers/wait_for_cluster_creation_worker.rb
+++ b/app/workers/wait_for_cluster_creation_worker.rb
@@ -7,7 +7,7 @@ class WaitForClusterCreationWorker
TIMEOUT = 20.minutes
def perform(cluster_id)
- Gcp::Cluster.find_by_id(cluster_id).tap do |cluster|
+ Gcp::Cluster.find_by_id(cluster_id).try do |cluster|
Ci::FetchGcpOperationService.new.execute(cluster) do |operation|
case operation.status
when 'RUNNING'