diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-10-05 21:33:29 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-10-05 21:33:29 +0200 |
commit | 4cda11585c75ce923d357b0dbb91fb393ed8e303 (patch) | |
tree | f67a5375db33a4dc8d774732ae9514b540b4fb95 /app/workers | |
parent | 6712762b9d6e0391b1a38ca17cc3d982a336bbf9 (diff) | |
download | gitlab-ce-4cda11585c75ce923d357b0dbb91fb393ed8e303.tar.gz |
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.rb | 2 |
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' |