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;
|
||||
|
||||
// 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) {
|
||||
Detector detector = Detector.PARSER.apply(parser, null).build();
|
||||
return new Request(detector);
|
||||
|
|
Loading…
Reference in New Issue