Skip to content

Commit 4d6d441

Browse files
committed
[API] Generator: Snapshot is not an x-pack endpoint
1 parent 3598b06 commit 4d6d441

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

elasticsearch-api/utils/thor/generator/files_helper.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ def self.xpack_files
5454
xpack_tests = Dir.entries(TESTS_DIRECTORIES[:xpack])
5555
Dir.entries(SRC_PATH).map do |entry|
5656
filename = entry.split('.').first
57+
next if filename == 'snapshot'
58+
5759
if xpack_tests.include?(filename) ||
5860
XPACK_ENDPOINTS.include?(filename) ||
5961
entry.match?(XPACK_ENDPOINTS_REGEXP)

0 commit comments

Comments
 (0)