diff --git a/server/src/main/java/org/opensearch/action/search/UpdatePitResponse.java b/server/src/main/java/org/opensearch/action/search/UpdatePitResponse.java index 13af5adf9bd3c..89003dd568109 100644 --- a/server/src/main/java/org/opensearch/action/search/UpdatePitResponse.java +++ b/server/src/main/java/org/opensearch/action/search/UpdatePitResponse.java @@ -78,14 +78,14 @@ public UpdatePitResponse( this.shardFailures = shardFailures; } - public static CreatePitResponse fromXContent(XContentParser parser) throws IOException{ + public static UpdatePitResponse fromXContent(XContentParser parser) throws IOException{ ensureExpectedToken(XContentParser.Token.START_OBJECT, parser.nextToken(), parser); parser.nextToken(); return innerFromXContent(parser); } - public static CreatePitResponse innerFromXContent(XContentParser parser) throws IOException { - + public static UpdatePitResponse innerFromXContent(XContentParser parser) throws IOException { + return null; } @Override public void writeTo(StreamOutput out) throws IOException{