Skip to content

Commit

Permalink
Debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
ZenGround0 committed Dec 26, 2024
1 parent c508613 commit 466750e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions node/repo/fsrepo.go
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,7 @@ func (fsr *fsLockedRepo) Close() error {
// Blockstore returns a blockstore for the provided data domain.
func (fsr *fsLockedRepo) Blockstore(ctx context.Context, domain BlockstoreDomain) (blockstore.Blockstore, func() error, error) {
if domain != UniversalBlockstore && domain != HotBlockstore {
log.Error("invalid blockstore domain", domain)
return nil, nil, ErrInvalidBlockstoreDomain
}
var bs *badgerbs.Blockstore
Expand Down

0 comments on commit 466750e

Please sign in to comment.