Skip to content

Commit

Permalink
Fix compile
Browse files Browse the repository at this point in the history
Signed-off-by: Sicheng Song <[email protected]>
  • Loading branch information
b4sjoo committed Sep 21, 2023
1 parent 434d5a4 commit 3c59a70
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public class MLUpdateModelInput implements ToXContentObject, Writeable {
private String connectorId;

@Builder(toBuilder = true)
public MLUpdateModelInput(String modelId, String description, String name, String modelGroupId, MLModelConfig modelConfig, Map<String, Object> connector, String connectorId) {
public MLUpdateModelInput(String modelId, String description, String name, String modelGroupId, MLModelConfig modelConfig, String connectorId) {
this.modelId = modelId;
this.description = description;
this.name = name;
Expand Down Expand Up @@ -102,7 +102,7 @@ public void writeTo(StreamOutput out) throws IOException {
}

public static MLUpdateModelInput parse(XContentParser parser, String modelId) throws IOException {
MLUpdateModelInput input = new MLUpdateModelInput(modelId, null, null, null, null, null, null);
MLUpdateModelInput input = new MLUpdateModelInput(modelId, null, null, null, null, null);
ensureExpectedToken(XContentParser.Token.START_OBJECT, parser.currentToken(), parser);
while (parser.nextToken() != XContentParser.Token.END_OBJECT) {
String fieldName = parser.currentName();
Expand Down

0 comments on commit 3c59a70

Please sign in to comment.