Commit 25e53b63 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'dz-fix-initialize-shards' into 'master'

Fix syntax error in initializers/fill_shards

See merge request gitlab-org/gitlab-ce!22871
parents 89f1e4b6 d1a5746e
return unless Shard.connected? if Shard.connected? && !Gitlab::Database.read_only?
return if Gitlab::Database.read_only? Shard.populate!
end
Shard.populate!
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