Skip to content

Commit

Permalink
Compile fix
Browse files Browse the repository at this point in the history
  • Loading branch information
markharwood committed Apr 7, 2021
1 parent 08a188d commit a83ff28
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -246,12 +246,11 @@ private static boolean alreadyContainsXPackCustomMetadata(ClusterState clusterSt
metadata.custom(WatcherMetadata.TYPE) != null ||
clusterState.custom(TokenMetadata.TYPE) != null;
}

@Override
public Map<String, MetadataFieldMapper.TypeParser> getMetadataMappers() {
return Map.of(DataTierFieldMapper.NAME, DataTierFieldMapper.PARSER);
return Collections.singletonMap(DataTierFieldMapper.NAME, DataTierFieldMapper.PARSER);
}


@Override
public Settings additionalSettings() {
Expand Down

0 comments on commit a83ff28

Please sign in to comment.