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:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-03-18 00:11:29 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-03-18 00:11:29 +0300
commita0b4a462b0c6f333651ae9e0c0ca1e5794e7b4e1 (patch)
tree37dce5303162eaf08841616347de9f65ba8dabf7 /app/workers
parente388691e4a5b5b69be903c7eceb606b853719cd5 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/workers')
-rw-r--r--app/workers/concerns/reactive_cacheable_worker.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/workers/concerns/reactive_cacheable_worker.rb b/app/workers/concerns/reactive_cacheable_worker.rb
index 189b0607605..9e882c8ac7a 100644
--- a/app/workers/concerns/reactive_cacheable_worker.rb
+++ b/app/workers/concerns/reactive_cacheable_worker.rb
@@ -17,10 +17,10 @@ module ReactiveCacheableWorker
def perform(class_name, id, *args)
klass = begin
- class_name.constantize
- rescue NameError
- nil
- end
+ class_name.constantize
+ rescue NameError
+ nil
+ end
return unless klass