Skip to content

Commit f9516c4

Browse files
committed
[API] Adds .deprecation to x-pack template prefixes
1 parent 387ed34 commit f9516c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api-spec-testing/test_file.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ def clear_templates_xpack(client)
305305
end
306306

307307
def xpack_template?(template)
308-
xpack_prefixes = ['.monitoring', '.watch', '.triggered-watches', '.data-frame', '.ml-', '.transform', 'data-streams-mappings'].freeze
308+
xpack_prefixes = ['.monitoring', '.watch', '.triggered-watches', '.data-frame', '.ml-', '.transform', 'data-streams-mappings', '.deprecation-'].freeze
309309
xpack_prefixes.map { |a| return true if a.include? template }
310310

311311
XPACK_TEMPLATES.include? template

0 commit comments

Comments
 (0)