Commit 6c37d3db authored by Douwe Maan's avatar Douwe Maan

Fix incorrect rubocop autocorrects

parent bbd1add2
......@@ -5,7 +5,7 @@ class ElasticIndexerWorker
sidekiq_options queue: :elasticsearch, retry: 2
ISSUE_TRACKED_FIELDS = [%w(assignee_id author_id confidential)].freeze
ISSUE_TRACKED_FIELDS = %w(assignee_id author_id confidential).freeze
def perform(operation, class_name, record_id, options = {})
return true unless current_application_settings.elasticsearch_indexing?
......
module Gitlab
module Middleware
class ReadonlyGeo
DISALLOWED_METHODS = [%w(POST PATCH PUT DELETE)].freeze
DISALLOWED_METHODS = %w(POST PATCH PUT DELETE).freeze
APPLICATION_JSON = 'application/json'.freeze
API_VERSIONS = (3..4)
......
module Gitlab
module SidekiqCluster
# The signals that should terminate both the master and workers.
TERMINATE_SIGNALS = [%i(INT TERM)].freeze
TERMINATE_SIGNALS = %i(INT TERM).freeze
# The signals that should simply be forwarded to the workers.
FORWARD_SIGNALS = [%i(TTIN USR1 USR2 HUP)].freeze
FORWARD_SIGNALS = %i(TTIN USR1 USR2 HUP).freeze
# Traps the given signals and yields the block whenever these signals are
# received.
......
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