Skip to content

Commit

Permalink
removed ctx requirement from AllWithLastEvaluatedKey method
Browse files Browse the repository at this point in the history
  • Loading branch information
sapessi committed Mar 30, 2018
1 parent e2df7c3 commit 9cdc4b7
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 9cdc4b7

Please sign in to comment.