sector import: Fix missing perm tag on SectorReceive

This commit is contained in:
Łukasz Magiera 2022-08-25 21:24:12 -04:00
parent ca790b4c69
commit 2318419291
4 changed files with 4 additions and 4 deletions

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

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.

View File

@ -3153,9 +3153,9 @@ Response:
```
### SectorReceive
There are not yet any comments for this method.
Perms:
Perms: admin
Inputs:
```json