Commit f2f0d6da authored by Gabriel Mazetto's avatar Gabriel Mazetto

Fix Codestyle

parent 7da43ecf
...@@ -2,15 +2,15 @@ module Gitlab ...@@ -2,15 +2,15 @@ module Gitlab
module Geo module Geo
OauthApplicationUndefinedError = Class.new(StandardError) OauthApplicationUndefinedError = Class.new(StandardError)
CACHE_KEYS = [ CACHE_KEYS = %i[
:geo_primary_node, geo_primary_node
:geo_secondary_nodes, geo_secondary_nodes
:geo_node_enabled, geo_node_enabled
:geo_node_primary, geo_node_primary
:geo_node_secondary, geo_node_secondary
:geo_primary_ssh_path_prefix, geo_primary_ssh_path_prefix
:geo_oauth_application geo_oauth_application
] ].freeze
def self.current_node def self.current_node
self.cache_value(:geo_node_current) do self.cache_value(:geo_node_current) do
......
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