Fix tests
This commit is contained in:
parent
bfb5bad124
commit
a6658a858f
@ -388,8 +388,8 @@ type WorkerStruct struct {
|
|||||||
ReadPiece func(context.Context, io.Writer, storage.SectorRef, storiface.UnpaddedByteIndex, abi.UnpaddedPieceSize) (storiface.CallID, error) `perm:"admin"`
|
ReadPiece func(context.Context, io.Writer, storage.SectorRef, storiface.UnpaddedByteIndex, abi.UnpaddedPieceSize) (storiface.CallID, error) `perm:"admin"`
|
||||||
Fetch func(context.Context, storage.SectorRef, storiface.SectorFileType, storiface.PathType, storiface.AcquireMode) (storiface.CallID, error) `perm:"admin"`
|
Fetch func(context.Context, storage.SectorRef, storiface.SectorFileType, storiface.PathType, storiface.AcquireMode) (storiface.CallID, error) `perm:"admin"`
|
||||||
|
|
||||||
DisableTask func(ctx context.Context, tt sealtasks.TaskType) error
|
DisableTask func(ctx context.Context, tt sealtasks.TaskType) error `perm:"admin"`
|
||||||
EnableTask func(ctx context.Context, tt sealtasks.TaskType) error
|
EnableTask func(ctx context.Context, tt sealtasks.TaskType) error `perm:"admin"`
|
||||||
|
|
||||||
Remove func(ctx context.Context, sector abi.SectorID) error `perm:"admin"`
|
Remove func(ctx context.Context, sector abi.SectorID) error `perm:"admin"`
|
||||||
StorageAddLocal func(ctx context.Context, path string) error `perm:"admin"`
|
StorageAddLocal func(ctx context.Context, path string) error `perm:"admin"`
|
||||||
|
@ -191,7 +191,7 @@ Response:
|
|||||||
### DisableTask
|
### DisableTask
|
||||||
There are not yet any comments for this method.
|
There are not yet any comments for this method.
|
||||||
|
|
||||||
Perms:
|
Perms: admin
|
||||||
|
|
||||||
Inputs:
|
Inputs:
|
||||||
```json
|
```json
|
||||||
@ -208,7 +208,7 @@ Response: `{}`
|
|||||||
### EnableTask
|
### EnableTask
|
||||||
There are not yet any comments for this method.
|
There are not yet any comments for this method.
|
||||||
|
|
||||||
Perms:
|
Perms: admin
|
||||||
|
|
||||||
Inputs:
|
Inputs:
|
||||||
```json
|
```json
|
||||||
|
Loading…
Reference in New Issue
Block a user