Makes IndexLifecycleMetadata feature aware

This commit is contained in:
Colin Goodheart-Smithe 2018-06-11 10:18:43 +01:00
parent 9ee492a3f0
commit b865d0476d
No known key found for this signature in database
GPG Key ID: F975E7BDD739B3C7
1 changed files with 2 additions and 1 deletions

View File

@ -18,6 +18,7 @@ import org.elasticsearch.common.io.stream.StreamInput;
import org.elasticsearch.common.io.stream.StreamOutput;
import org.elasticsearch.common.xcontent.ConstructingObjectParser;
import org.elasticsearch.common.xcontent.XContentBuilder;
import org.elasticsearch.xpack.core.XPackPlugin.XPackMetaDataCustom;
import java.io.IOException;
import java.util.Collections;
@ -30,7 +31,7 @@ import java.util.function.Function;
import java.util.stream.Collectors;
public class IndexLifecycleMetadata implements MetaData.Custom {
public class IndexLifecycleMetadata implements XPackMetaDataCustom {
public static final String TYPE = "index_lifecycle";
public static final ParseField POLICIES_FIELD = new ParseField("policies");