Skip to content

Commit d499679

Browse files
author
Christoph Büscher
committed
iter
1 parent 8e8ec90 commit d499679

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

modules/transport-netty4/src/test/java/org/elasticsearch/rest/Netty4HeadBodyIsEmptyIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ public void testGetSourceAction() throws IOException {
175175
request.setJsonEntity(Strings.toString(builder));
176176
client().performRequest(request);
177177
createTestDoc("test-no-source", "test-no-source");
178-
headTestCase("/test-no-source/test-no-source/1/_source", emptyMap(), NOT_FOUND.getStatus(), greaterThan(0));
178+
headTestCase("/test-no-source/1/_source", emptyMap(), NOT_FOUND.getStatus(), greaterThan(0));
179179
}
180180
}
181181

server/src/main/java/org/elasticsearch/rest/action/document/RestGetSourceAction.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@
5252
public class RestGetSourceAction extends BaseRestHandler {
5353

5454
private static final DeprecationLogger deprecationLogger = new DeprecationLogger(LogManager.getLogger(RestGetSourceAction.class));
55-
static final String TYPES_DEPRECATION_MESSAGE = "[types removal] Specifying types in get_source requests is deprecated.";
55+
static final String TYPES_DEPRECATION_MESSAGE = "[types removal] Specifying types in get_source and exist_source"
56+
+ "requests is deprecated.";
5657

5758
public RestGetSourceAction(final Settings settings, final RestController controller) {
5859
super(settings);

0 commit comments

Comments
 (0)