Skip to content

Commit bf35059

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent 24ddc07 commit bf35059

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

server/src/main/java/org/elasticsearch/action/admin/indices/rollover/MetadataRolloverService.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -656,12 +656,7 @@ static void checkNoDuplicatedAliasInIndexTemplate(
656656
}
657657
}
658658

659-
static void validate(
660-
ProjectMetadata project,
661-
String rolloverTarget,
662-
String newIndexName,
663-
CreateIndexRequest request
664-
) {
659+
static void validate(ProjectMetadata project, String rolloverTarget, String newIndexName, CreateIndexRequest request) {
665660
final IndexAbstraction indexAbstraction = project.getIndicesLookup().get(rolloverTarget);
666661
if (indexAbstraction == null) {
667662
throw new ResourceNotFoundException("rollover target [" + rolloverTarget + "] does not exist");

0 commit comments

Comments
 (0)