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:
authorShinya Maeda <shinya@gitlab.com>2018-06-02 08:09:24 +0300
committerShinya Maeda <shinya@gitlab.com>2018-06-06 11:49:48 +0300
commitf9b821f08dfc8feee2ed8a06c8f21c85c3c9d2ec (patch)
treeb950c212b7797479abe5bf59455ee1c371c75ae9 /app/services
parent5a1ee0c391a06a323d960eab6ffb33dfcf2edca7 (diff)
Fix specs for exclusive lease
Diffstat (limited to 'app/services')
-rw-r--r--app/services/concerns/exclusive_lease_guard.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/concerns/exclusive_lease_guard.rb b/app/services/concerns/exclusive_lease_guard.rb
index 30be6accc32..f45436370c1 100644
--- a/app/services/concerns/exclusive_lease_guard.rb
+++ b/app/services/concerns/exclusive_lease_guard.rb
@@ -47,6 +47,6 @@ module ExclusiveLeaseGuard
end
def log_error(message, extra_args = {})
- logger.error(message)
+ Rails.logger.error(message)
end
end