diff --git a/pkg/analyze/storage.go b/pkg/analyze/storage.go index 807172225..e0f61ad18 100644 --- a/pkg/analyze/storage.go +++ b/pkg/analyze/storage.go @@ -68,8 +68,7 @@ func (s *Storage) StoreDir(dir fs.Item) error { return errors.Wrap(err, "encoding dir value") } - txn.Set([]byte(dir.GetPath()), b.Bytes()) - return nil + return txn.Set([]byte(dir.GetPath()), b.Bytes()) }) }