Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
magik6k committed Nov 26, 2020
1 parent bfb5bad commit 5f90f0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/apistruct/struct.go
Original file line number Diff line number Diff line change
Expand Up @@ -388,8 +388,8 @@ type WorkerStruct struct {
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"`

DisableTask func(ctx context.Context, tt sealtasks.TaskType) error
EnableTask 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 `perm:"admin"`

Remove func(ctx context.Context, sector abi.SectorID) error `perm:"admin"`
StorageAddLocal func(ctx context.Context, path string) error `perm:"admin"`
Expand Down

0 comments on commit 5f90f0d

Please sign in to comment.