Skip to content

Commit 60f4129

Browse files
committed
Remove forbidden API
1 parent 36fc4fb commit 60f4129

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

x-pack/plugin/transform/src/main/java/org/elasticsearch/xpack/transform/transforms/TransformPersistentTasksExecutor.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
import org.elasticsearch.common.ValidationException;
3030
import org.elasticsearch.common.settings.Settings;
3131
import org.elasticsearch.core.Nullable;
32+
import org.elasticsearch.core.Strings;
3233
import org.elasticsearch.core.TimeValue;
3334
import org.elasticsearch.core.Tuple;
3435
import org.elasticsearch.persistent.AllocatedPersistentTask;
@@ -512,7 +513,7 @@ private void startTask(
512513
// force stopping will eventually deregister this retry task from the scheduler
513514
auditor.warning(
514515
params.getId(),
515-
String.format(
516+
Strings.format(
516517
"Failed while starting Transform. Automatically retrying every [%s] seconds. "
517518
+ "To cancel retries, force stop this transform. Failure: [%s]",
518519
retryTimer.seconds(),

0 commit comments

Comments
 (0)