Browse Source

avoid overwriting variables

pull/664/head
Chris Lu 7 years ago
parent
commit
e97c60cc10
  1. 2
      weed/filer2/memdb/memdb_store.go

2
weed/filer2/memdb/memdb_store.go

@ -34,7 +34,7 @@ func (filer *MemDbStore) InsertEntry(entry *filer2.Entry) (err error) {
}
func (filer *MemDbStore) UpdateEntry(entry *filer2.Entry) (err error) {
found, entry, err := filer.FindEntry(entry.FullPath)
found, _, err := filer.FindEntry(entry.FullPath)
if !found {
return fmt.Errorf("No such file: %s", entry.FullPath)
}

Loading…
Cancel
Save