Fix syntax error in initializers/fill_shards
This commit is contained in:
parent
89f1e4b63c
commit
d1a5746e1e
1 changed files with 3 additions and 4 deletions
|
@ -1,4 +1,3 @@
|
||||||
return unless Shard.connected?
|
if Shard.connected? && !Gitlab::Database.read_only?
|
||||||
return if Gitlab::Database.read_only?
|
Shard.populate!
|
||||||
|
end
|
||||||
Shard.populate!
|
|
||||||
|
|
Loading…
Reference in a new issue