Skip to content

Commit

Permalink
Make the 'get templates' types deprecation message consistent. (#38533)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtibshirani authored Feb 12, 2019
1 parent 33b2be5 commit 3fc1c94
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ public class RestGetIndexTemplateAction extends BaseRestHandler {
Collections.singleton(INCLUDE_TYPE_NAME_PARAMETER), Settings.FORMAT_PARAMS));
private static final DeprecationLogger deprecationLogger = new DeprecationLogger(
LogManager.getLogger(RestGetIndexTemplateAction.class));
public static final String TYPES_DEPRECATION_MESSAGE = "[types removal]" +
" Specifying include_type_name in get index template requests is deprecated.";
public static final String TYPES_DEPRECATION_MESSAGE = "[types removal] Using include_type_name in get " +
"index template requests is deprecated. The parameter will be removed in the next major version.";

public RestGetIndexTemplateAction(final Settings settings, final RestController controller) {
super(settings);
Expand Down

0 comments on commit 3fc1c94

Please sign in to comment.