fixed build failure
failed due changes in core master Original commit: elastic/x-pack-elasticsearch@43f6badffe
This commit is contained in:
parent
26a72e4d21
commit
bbabf8ba85
|
@ -12,7 +12,6 @@ import org.elasticsearch.common.xcontent.XContentParser;
|
|||
import org.elasticsearch.common.xcontent.XContentType;
|
||||
import org.elasticsearch.watcher.execution.WatchExecutionContext;
|
||||
import org.elasticsearch.watcher.input.ExecutableInput;
|
||||
import org.elasticsearch.watcher.input.search.SearchInput;
|
||||
import org.elasticsearch.watcher.support.Variables;
|
||||
import org.elasticsearch.watcher.support.XContentFilterKeysUtils;
|
||||
import org.elasticsearch.watcher.support.http.HttpClient;
|
||||
|
@ -85,7 +84,7 @@ public class ExecutableHttpInput extends ExecutableInput<HttpInput, HttpInput.Re
|
|||
payload = new Payload.Simple(filteredKeys);
|
||||
} else {
|
||||
if (parser != null) {
|
||||
Map<String, Object> map = parser.mapOrderedAndClose();
|
||||
Map<String, Object> map = parser.mapOrdered();
|
||||
payload = new Payload.Simple(map);
|
||||
} else {
|
||||
payload = new Payload.Simple("_value", response.body().toUtf8());
|
||||
|
|
|
@ -84,16 +84,6 @@ public class SensitiveXContentParser implements XContentParser {
|
|||
return parser.mapOrdered();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Map<String, Object> mapAndClose() throws IOException {
|
||||
return parser.mapAndClose();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Map<String, Object> mapOrderedAndClose() throws IOException {
|
||||
return parser.mapOrderedAndClose();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String text() throws IOException {
|
||||
return parser.text();
|
||||
|
|
Loading…
Reference in New Issue