Commit 53f5ead6 authored by Thong Kuah's avatar Thong Kuah

Merge branch 'create-bang-elasticsearch-containers' into 'master'

Use create! inserting elasticsearch indexed containers

See merge request gitlab-org/gitlab!19609
parents db749b08 c00535ea
......@@ -36,7 +36,7 @@ module EE
new_container_ids -= klass.target_ids
# Add new containers
new_container_ids.each { |id| klass.create(klass.target_attr_name => id) }
new_container_ids.each { |id| klass.create!(klass.target_attr_name => id) }
end
end
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