Commit 7ad70472 authored by Dmitry Gruzd's avatar Dmitry Gruzd

Remove seconds from the ES index name format

parent d27cf02f
......@@ -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