Commit d1a5746e authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix syntax error in initializers/fill_shards

parent 89f1e4b6
return unless Shard.connected?
return if Gitlab::Database.read_only?
Shard.populate!
if Shard.connected? && !Gitlab::Database.read_only?
Shard.populate!
end
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