Commit 1e68a2fc authored by Dmytro Zaporozhets's avatar Dmytro Zaporozhets

Merge branch 'sh-fix-rake-verify-task' into 'master'

Fix gitlab:*:check Rake tasks

Closes #225845

See merge request gitlab-org/gitlab!35944
parents 9962f2e9 fb70724e
---
title: Fix gitlab:*:check Rake tasks
merge_request: 35944
author:
type: fixed
......@@ -71,9 +71,8 @@ module Gitlab
# It's already set to Logger::INFO, but acts as if it is set to
# Logger::DEBUG, and this fixes it...
def fix_google_api_logger
if Object.const_defined?('Google::Apis')
Google::Apis.logger.level = Logger::INFO
end
require 'google/apis'
Google::Apis.logger.level = Logger::INFO
end
# This should return an ActiveRecord::Relation suitable for calling #in_batches on
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment