Skip to content

Commit

Permalink
Update itemcursor current error when GetItemsSync returns an error (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
FelGel authored Jun 2, 2021
1 parent 0099411 commit d90533a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/dataplane/itemscursor.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ func (ic *ItemsCursor) NextItemSync() (Item, error) {
// invoke get items
newResponse, err := ic.container.GetItemsSync(ic.getItemsInput)
if err != nil {
ic.currentError = err
return nil, err
}

Expand Down

0 comments on commit d90533a

Please sign in to comment.