fix: lint error

This commit is contained in:
Dirk McCormick
2021-08-10 16:20:50 +02:00
parent f8470928dd
commit f693123352
6 changed files with 7 additions and 6 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
+2 -1
View File
@@ -380,7 +380,8 @@ Inputs:
```json
[
{
"MaxConcurrency": 123
"MaxConcurrency": 123,
"IncludeSealed": true
}
]
```
+2 -2
View File
@@ -17,7 +17,7 @@ import (
func TestShardRegistration(t *testing.T) {
ps := tut.NewTestPieceStore()
providerNode := testnodes.NewTestRetrievalProviderNode()
sa := testnodes.NewTestSectorAccessor()
ctx := context.Background()
cids := tut.GenerateCids(4)
@@ -82,7 +82,7 @@ func TestShardRegistration(t *testing.T) {
cfg := config.DefaultStorageMiner().DAGStore
cfg.RootDir = t.TempDir()
mapi := NewMinerAPI(ps, providerNode, 10)
mapi := NewMinerAPI(ps, sa, 10)
dagst, w, err := NewDAGStore(cfg, mapi)
require.NoError(t, err)
require.NotNil(t, dagst)
+3 -3
View File
@@ -130,8 +130,8 @@ and storage providers`,
Name: "RootDir",
Type: "string",
Comment: `Default value: $LOTUS_MARKETS_PATH/dagStore (split deployment) or
$LOTUS_MINER_PATH/dagStore (monolith deployment)`,
Comment: `Default value: $LOTUS_MARKETS_PATH/dagstore (split deployment) or
$LOTUS_MINER_PATH/dagstore (monolith deployment)`,
},
{
Name: "MaxConcurrentIndex",
@@ -146,7 +146,7 @@ Default value: 5.`,
Comment: `The maximum amount of unsealed deals that can be fetched simultaneously
from the storage subsystem.
Default value: 2.`,
Default value: 0.`,
},
{
Name: "MaxConcurrencyStorageCalls",