mirror of
https://github.com/logos-storage/logos-storage-go-bindings.git
synced 2026-01-02 13:33:10 +00:00
Add StorageQuota config to testutil
This commit is contained in:
parent
763c7745f7
commit
7bf087ad88
@ -43,6 +43,10 @@ func newCodexNode(t *testing.T, opts ...Config) *CodexNode {
|
||||
if c.DiscoveryPort != 0 {
|
||||
config.DiscoveryPort = c.DiscoveryPort
|
||||
}
|
||||
|
||||
if c.StorageQuota != 0 {
|
||||
config.StorageQuota = c.StorageQuota
|
||||
}
|
||||
}
|
||||
|
||||
node, err := New(config)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user