Skip to content

Commit

Permalink
Fix: lint errors in bulk.yml.
Browse files Browse the repository at this point in the history
Signed-off-by: dblock <[email protected]>
  • Loading branch information
dblock committed Jul 8, 2024
1 parent a359a5a commit 370dab3
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions tests/_core/bulk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,23 @@ chapters:
request_body:
content_type: application/x-ndjson
payload:
- { create: { _index: movies } }
- { director: Bennett Miller, title: Moneyball, year: 2011 }
- {create: {_index: movies}}
- {director: Bennett Miller, title: Moneyball, year: 2011}
- synopsis: Bulk document CRUD.
path: /_bulk
method: POST
request_body:
content_type: application/x-ndjson
payload:
- { create: { _index: books, _id: book_1392214 } }
- { author: Harper Lee, title: To Kill a Mockingbird, year: 1960 }
- { update: { _index: books, _id: book_1392214 } }
- { doc: { pages: 376 } }
- { update: { _index: books, _id: book_1392214 } }
- { doc: { pages: 376 }, _source: true }
- { update: { _index: books, _id: book_1392214 } }
- { script: { source: 'ctx._source.pages = 376;' } }
- { update: { _index: books, _id: does_not_exist } }
- { script: { source: 'ctx.op = "none";' }, scripted_upsert: true, upsert: { pages: 375 } }
- { delete: { _index: books, _id: book_1392214 } }
- {create: {_index: books, _id: book_1392214}}
- {author: Harper Lee, title: To Kill a Mockingbird, year: 1960}
- {update: {_index: books, _id: book_1392214}}
- {doc: {pages: 376}}
- {update: {_index: books, _id: book_1392214}}
- {doc: {pages: 376}, _source: true}
- {update: {_index: books, _id: book_1392214}}
- {script: {source: 'ctx._source.pages = 376;'}}
- {update: {_index: books, _id: does_not_exist}}
- {script: {source: 'ctx.op = "none";'}, scripted_upsert: true, upsert: {pages: 375}}
- {delete: {_index: books, _id: book_1392214}}

0 comments on commit 370dab3

Please sign in to comment.