Skip to content

Commit

Permalink
Fix the parameter name to mediaType
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Liang <jiallian@amazon.com>
  • Loading branch information
RyanL1997 committed Jul 25, 2023
1 parent f72e6bc commit 1b14067
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ private static void addIndicesSourceSafe(
final String[] indices,
final IndexNameExpressionResolver resolver,
final ClusterService cs,
final MediaType xContentType,
final MediaType mediaType,
final Object source,
final Settings settings,
boolean resolveIndices,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -992,7 +992,7 @@ public XContentBuilder newErrorBuilder() throws IOException {
}

@Override
public XContentBuilder newBuilder(MediaType xContentType, boolean useFiltering) throws IOException {
public XContentBuilder newBuilder(MediaType mediaType, boolean useFiltering) throws IOException {
return null;
}

Expand All @@ -1018,7 +1018,7 @@ public void sendResponse(RestResponse response) {
}

@Override
public XContentBuilder newBuilder(MediaType xContentType, MediaType responseContentType, boolean useFiltering) throws IOException {
public XContentBuilder newBuilder(MediaType mediaType, MediaType responseContentType, boolean useFiltering) throws IOException {
return null;
}

Expand Down

0 comments on commit 1b14067

Please sign in to comment.