Skip to content

Commit

Permalink
[7.x] Fix typo in ScanError
Browse files Browse the repository at this point in the history
Co-authored-by: Nathan Meisels <nathan@forter.com>
  • Loading branch information
sethmlarson and nmeisels committed Sep 14, 2020
1 parent 8200d80 commit 40aeeff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion elasticsearch/_async/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ async def async_scan(
if raise_on_error:
raise ScanError(
scroll_id,
"Scroll request has only succeeded on %d (+%d skiped) shards out of %d."
"Scroll request has only succeeded on %d (+%d skipped) shards out of %d."
% (
resp["_shards"]["successful"],
resp["_shards"]["skipped"],
Expand Down
2 changes: 1 addition & 1 deletion elasticsearch/helpers/actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ def scan(
if raise_on_error:
raise ScanError(
scroll_id,
"Scroll request has only succeeded on %d (+%d skiped) shards out of %d."
"Scroll request has only succeeded on %d (+%d skipped) shards out of %d."
% (
resp["_shards"]["successful"],
resp["_shards"]["skipped"],
Expand Down

0 comments on commit 40aeeff

Please sign in to comment.