Commit da6c493e authored by Dylan Griffith's avatar Dylan Griffith

Merge branch 'change-es-index-name' into 'master'

Remove seconds from the ES index name format

See merge request gitlab-org/gitlab!32829
parents 0ee94ab3 7ad70472
......@@ -36,7 +36,7 @@ module Gitlab
settings = {}
mappings = {}
new_index_name = with_alias ? "#{target_name}-#{Time.now.strftime("%Y%m%d-%H%M%S")}" : target_name
new_index_name = with_alias ? "#{target_name}-#{Time.now.strftime("%Y%m%d-%H%M")}" : target_name
[
Project,
......
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