Skip to content

Commit

Permalink
Merge pull request #69 from SAPessi/master
Browse files Browse the repository at this point in the history
removed ctx requirement from AllWithLastEvaluatedKey method
  • Loading branch information
guregu authored Mar 31, 2018
2 parents e2df7c3 + 9cdc4b7 commit e38c48c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scan.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ func (s *Scan) AllWithContext(ctx aws.Context, out interface{}) error {

// AllWithLastEvaluatedKey executes this request and unmarshals all results to out, which must be a pointer to a slice.
// It returns a key you can use with StartWith to continue this query.
func (s *Scan) AllWithLastEvaluatedKey(ctx aws.Context, out interface{}) (PagingKey, error) {
func (s *Scan) AllWithLastEvaluatedKey(out interface{}) (PagingKey, error) {
ctx, cancel := defaultContext()
defer cancel()
return s.AllWithLastEvaluatedKeyContext(ctx, out)
Expand Down

0 comments on commit e38c48c

Please sign in to comment.