mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-01 16:39:11 +00:00
Removes unnecessary NORELEASE for ML endpoint
Original commit: elastic/x-pack-elasticsearch@bbb203665b
This commit is contained in:
parent
3e0f785f0c
commit
795a00ddab
@ -62,8 +62,6 @@ extends Action<ValidateDetectorAction.Request, ValidateDetectorAction.Response,
|
|||||||
|
|
||||||
private Detector detector;
|
private Detector detector;
|
||||||
|
|
||||||
// NORELEASE this needs to change so the body is not directly the
|
|
||||||
// detector but and object that contains a field for the detector
|
|
||||||
public static Request parseRequest(XContentParser parser) {
|
public static Request parseRequest(XContentParser parser) {
|
||||||
Detector detector = Detector.PARSER.apply(parser, null).build();
|
Detector detector = Detector.PARSER.apply(parser, null).build();
|
||||||
return new Request(detector);
|
return new Request(detector);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user