sector import: Fix missing perm tag on SectorReceive

This commit is contained in:
Łukasz Magiera
2022-09-19 12:13:05 +02:00
parent ca790b4c69
commit 2318419291
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -146,7 +146,7 @@ type StorageMiner interface {
// SectorNumFree drops a sector reservation
SectorNumFree(ctx context.Context, name string) error //perm:admin
SectorReceive(ctx context.Context, meta RemoteSectorMeta) error
SectorReceive(ctx context.Context, meta RemoteSectorMeta) error //perm:admin
// WorkerConnect tells the node to connect to workers RPC
WorkerConnect(context.Context, string) error //perm:admin retry:true
+1 -1
View File
@@ -846,7 +846,7 @@ type StorageMinerStruct struct {
SectorPreCommitPending func(p0 context.Context) ([]abi.SectorID, error) `perm:"admin"`
SectorReceive func(p0 context.Context, p1 RemoteSectorMeta) error ``
SectorReceive func(p0 context.Context, p1 RemoteSectorMeta) error `perm:"admin"`
SectorRemove func(p0 context.Context, p1 abi.SectorNumber) error `perm:"admin"`
Binary file not shown.
+2 -2
View File
@@ -3153,9 +3153,9 @@ Response:
```
### SectorReceive
There are not yet any comments for this method.
Perms:
Perms: admin
Inputs:
```json