diff options
Diffstat (limited to 'lib/gitlab/git/keep_around.rb')
-rw-r--r-- | lib/gitlab/git/keep_around.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/git/keep_around.rb b/lib/gitlab/git/keep_around.rb index d58f10bdbb7..b6fc335c979 100644 --- a/lib/gitlab/git/keep_around.rb +++ b/lib/gitlab/git/keep_around.rb @@ -27,7 +27,7 @@ module Gitlab # This will still fail if the file is corrupted (e.g. 0 bytes) raw_repository.write_ref(keep_around_ref_name(sha), sha) rescue Gitlab::Git::CommandError => ex - Rails.logger.error "Unable to create keep-around reference for repository #{disk_path}: #{ex}" # rubocop:disable Gitlab/RailsLogger + Gitlab::AppLogger.error "Unable to create keep-around reference for repository #{disk_path}: #{ex}" end end |