Skip to content

Commit

Permalink
Correct param usage
Browse files Browse the repository at this point in the history
  • Loading branch information
janderson-seg committed Nov 21, 2023
1 parent 0bef9c2 commit 2819faa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/event/iterator.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ func (i *Iterator) Close() error {
// the error, and then just invalidate the cache the same way you would with ErrOutOfSync.
// As time goes on, we'll know a little bit better how to operate this under real-world
// conditions.
func NewFilteredIterator(ctx context.Context, changelogPath, family, table string, opts IteratorOpt) (*FilteredIterator, error) {
iter, err := NewIterator(ctx, changelogPath, opts)
func NewFilteredIterator(ctx context.Context, changelogPath, family, table string, opts ...IteratorOpt) (*FilteredIterator, error) {
iter, err := NewIterator(ctx, changelogPath, opts...)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 2819faa

Please sign in to comment.