Fix tests

This commit is contained in:
Łukasz Magiera 2020-11-26 17:44:49 +01:00
parent bfb5bad124
commit a6658a858f
2 changed files with 4 additions and 4 deletions

View File

@ -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"`

View File

@ -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