Skip to content

Commit 7594c57

Browse files
Merge branch 'main' into take-date-nanos-implicit-casting-out-of-snapshot
2 parents f454403 + ebb94bd commit 7594c57

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

x-pack/plugin/core/template-resources/src/main/resources/[email protected]

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
"template": {
1111
"lifecycle": {},
1212
"mappings": {
13+
"_meta": {
14+
"template_version": ${xpack.stack.template.version}
15+
},
1316
"properties": {
1417
"meta": {
1518
"properties": {

x-pack/plugin/stack/src/main/java/org/elasticsearch/xpack/stack/StackTemplateRegistry.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public class StackTemplateRegistry extends IndexTemplateRegistry {
3737

3838
// The stack template registry version. This number must be incremented when we make changes
3939
// to built-in templates.
40-
public static final int REGISTRY_VERSION = 17;
40+
public static final int REGISTRY_VERSION = 18;
4141

4242
public static final String TEMPLATE_VERSION_VARIABLE = "xpack.stack.template.version";
4343
public static final Setting<Boolean> STACK_TEMPLATES_ENABLED = Setting.boolSetting(

0 commit comments

Comments
 (0)