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:
authorLin Jen-Shin <godfat@godfat.org>2016-12-01 13:27:40 +0300
committerLin Jen-Shin <godfat@godfat.org>2016-12-01 13:27:40 +0300
commitb19b3b99c813acd3ce871a41baf09a426f415f27 (patch)
treeba4c3ba593e16e0ee0dbc3590af8e17b63088d9e
parent6a16243d539f6339b6cdeff9f5d10f67cd852724 (diff)
Use simple class without a blockoptimistic-lock-and-retry-deleting-project
-rw-r--r--app/services/projects/destroy_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/projects/destroy_service.rb b/app/services/projects/destroy_service.rb
index 494747f1a54..e57f3d4e11b 100644
--- a/app/services/projects/destroy_service.rb
+++ b/app/services/projects/destroy_service.rb
@@ -4,7 +4,7 @@ module Projects
DELETED_FLAG = '+deleted'
- class DestroyError < StandardError; end
+ DestroyError = Class.new(StandardError)
Executor = Struct.new(:service, :project) do
def execute