diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-02-23 16:56:27 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-02-23 16:56:27 +0300 |
commit | ca378aa34c890db9e8f5031413661827680a0701 (patch) | |
tree | dc3fcd49b751eba7481f9e574fd10b48c6ce3fff /lib/gitlab | |
parent | 02699f26a4fe067092fdc028738e56048a375453 (diff) |
Fix Rubocop offense in OptimisticLocking module
Diffstat (limited to 'lib/gitlab')
-rw-r--r-- | lib/gitlab/optimistic_locking.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/optimistic_locking.rb b/lib/gitlab/optimistic_locking.rb index e0b2286f1dc..8c47c807bf9 100644 --- a/lib/gitlab/optimistic_locking.rb +++ b/lib/gitlab/optimistic_locking.rb @@ -16,6 +16,6 @@ module Gitlab end end - alias :retry_optimistic_lock :retry_lock + alias_method :retry_optimistic_lock, :retry_lock end end |