diff options
Diffstat (limited to 'testrig/storage.go')
-rw-r--r-- | testrig/storage.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testrig/storage.go b/testrig/storage.go index 0d90a7f87..4cc7f5080 100644 --- a/testrig/storage.go +++ b/testrig/storage.go @@ -168,8 +168,8 @@ func (s *inMemStorage) Remove(key string) error { return nil } -func (s *inMemStorage) WalkKeys(opts *storage.WalkKeysOptions) error { - if opts == nil || opts.WalkFn == nil { +func (s *inMemStorage) WalkKeys(opts storage.WalkKeysOptions) error { + if opts.WalkFn == nil { return errors.New("invalid walkfn") } for key := range s.storage { |