Skip to content

Commit c74cc95

Browse files
ywangdtvernum
andauthored
Update x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/Security.java
Co-authored-by: Tim Vernum <[email protected]>
1 parent 7a362c6 commit c74cc95

File tree

1 file changed

+1
-1
lines changed
  • x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security

1 file changed

+1
-1
lines changed

x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/Security.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1354,7 +1354,7 @@ private static XContentBuilder getIndexMappings(Version mappingVersion) {
13541354
builder.field("dynamic", false);
13551355
builder.endObject();
13561356

1357-
if (Version.V_7_13_0.onOrBefore(mappingVersion)) {
1357+
if (mappingVersion.onOrAfter(Version.V_7_13_0)) {
13581358
builder.startObject("metadata_flattened");
13591359
builder.field("type", "flattened");
13601360
builder.endObject();

0 commit comments

Comments
 (0)