Commit 3e3b19b7 authored by Sean McGivern's avatar Sean McGivern

Merge branch 'fix-10751-static-analysis-on-master' into 'master'

Remove unnecessary disable comments for rubocop

Closes #10751

See merge request gitlab-org/gitlab-ee!10476
parents 160ce2de 44f783bd
......@@ -29,7 +29,6 @@ class DropRepositoryStorageEventsForGeoEvents < ActiveRecord::Migration[4.2]
private
def update_repository_storage_path(table)
# rubocop:disable Migration/UpdateColumnInBatches
update_column_in_batches(table, :repository_storage_path, update_statement) do |t, q|
q.where(t[:repository_storage_path].eq(nil))
end
......
# frozen_string_literal: true
# rubocop:disable Migration/UpdateColumnInBatches
class UpdatePackageType < ActiveRecord::Migration[5.0]
include Gitlab::Database::MigrationHelpers
......
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