File tree 1 file changed +2
-1
lines changed
server/src/main/java/org/elasticsearch/persistent
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 36
36
import org .elasticsearch .common .xcontent .ObjectParser ;
37
37
import org .elasticsearch .common .xcontent .ObjectParser .NamedObjectParser ;
38
38
import org .elasticsearch .common .xcontent .ToXContent ;
39
+ import org .elasticsearch .common .xcontent .ToXContentObject ;
39
40
import org .elasticsearch .common .xcontent .XContentBuilder ;
40
41
import org .elasticsearch .common .xcontent .XContentParser ;
41
42
import org .elasticsearch .tasks .Task ;
@@ -266,7 +267,7 @@ public String toString() {
266
267
/**
267
268
* A record that represents a single running persistent task
268
269
*/
269
- public static class PersistentTask <P extends PersistentTaskParams > implements Writeable , ToXContent {
270
+ public static class PersistentTask <P extends PersistentTaskParams > implements Writeable , ToXContentObject {
270
271
private final String id ;
271
272
private final long allocationId ;
272
273
private final String taskName ;
You can’t perform that action at this time.
0 commit comments