diff options
author | 2021-11-27 15:26:58 +0100 | |
---|---|---|
committer | 2021-11-27 15:26:58 +0100 | |
commit | 182b4eea73881c611a0f519576aa6ad2aa6799c2 (patch) | |
tree | 230fac469690fcee8797b13585e739be148d4789 /testrig/storage.go | |
parent | Require confirmed email when checking oauth token (#332) (diff) | |
download | gotosocial-182b4eea73881c611a0f519576aa6ad2aa6799c2.tar.xz |
Update dependencies (#333)
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 { |