mirror of https://github.com/perkeep/perkeep.git
pkg/sorted: rename a receiver to appease staticcheck
Signed-off-by: Brad Fitzpatrick <brad@danga.com>
This commit is contained in:
parent
9d0c73955a
commit
2e5266741a
|
@ -45,10 +45,10 @@ type memKeys struct {
|
||||||
db *memdb.DB
|
db *memdb.DB
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *memKeys) Wipe() error {
|
func (mk *memKeys) Wipe() error {
|
||||||
s.mu.Lock()
|
mk.mu.Lock()
|
||||||
defer s.mu.Unlock()
|
defer mk.mu.Unlock()
|
||||||
s.db = memdb.New(comparer.DefaultComparer, 128)
|
mk.db = memdb.New(comparer.DefaultComparer, 128)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue