Skip to content

Commit 8405ff3

Browse files
committed
Spotless Apply
1 parent 0ec99b6 commit 8405ff3

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/MlDailyMaintenanceService.java

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -399,13 +399,10 @@ private void rollAndUpdateAliases(ClusterState clusterState, String index, Actio
399399
client,
400400
new RolloverRequestBuilder(client).setRolloverTarget(rolloverAlias)
401401
.setNewIndexName(newIndexName)
402+
// TODO Make these conditions configurable settings?
402403
// .setConditions(RolloverConditions.newBuilder().addMaxIndexSizeCondition(ByteSizeValue.of(50,
403-
// ByteSizeUnit.GB)).build()) // TODO Make these settings?
404-
.setConditions(RolloverConditions.newBuilder().addMaxIndexSizeCondition(ByteSizeValue.of(2, ByteSizeUnit.MB)).build()) // TODO
405-
// Make
406-
// these
407-
// changeable
408-
// settings?
404+
// ByteSizeUnit.GB)).build())
405+
.setConditions(RolloverConditions.newBuilder().addMaxIndexSizeCondition(ByteSizeValue.of(2, ByteSizeUnit.MB)).build())
409406
.request(),
410407
rolloverListener
411408
);

0 commit comments

Comments
 (0)