Skip to content

Commit fa2dae3

Browse files
committed
fix: certstore in mem storage
1 parent a83fd07 commit fa2dae3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: nodebuilder/store_mem.go

+5
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package nodebuilder
33
import (
44
"sync"
55

6+
"github.com/caddyserver/certmagic"
67
"github.com/ipfs/go-datastore"
78
ds_sync "github.com/ipfs/go-datastore/sync"
89

@@ -33,6 +34,10 @@ func (m *memStore) Datastore() (datastore.Batching, error) {
3334
return m.data, nil
3435
}
3536

37+
func (m *memStore) Certstore() certmagic.FileStorage {
38+
return certmagic.FileStorage{Path: "memstore"}
39+
}
40+
3641
func (m *memStore) Config() (*Config, error) {
3742
m.cfgL.Lock()
3843
defer m.cfgL.Unlock()

0 commit comments

Comments
 (0)