Skip to content

Commit 0d1d7c2

Browse files
authored
chore: fix function name (#12716)
Signed-off-by: chuangjinglu <[email protected]>
1 parent e2c46f1 commit 0d1d7c2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

api/api_storage.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ type StorageMiner interface {
172172
// SealingSchedDiag dumps internal sealing scheduler state
173173
SealingSchedDiag(ctx context.Context, doSched bool) (interface{}, error) //perm:admin
174174
SealingAbort(ctx context.Context, call storiface.CallID) error //perm:admin
175-
// SealingSchedRemove removes a request from sealing pipeline
175+
// SealingRemoveRequest removes a request from sealing pipeline
176176
SealingRemoveRequest(ctx context.Context, schedId uuid.UUID) error //perm:admin
177177

178178
// paths.SectorIndex

build/openrpc/miner.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3235,7 +3235,7 @@
32353235
{
32363236
"name": "Filecoin.SealingRemoveRequest",
32373237
"description": "```go\nfunc (s *StorageMinerStruct) SealingRemoveRequest(p0 context.Context, p1 uuid.UUID) error {\n\tif s.Internal.SealingRemoveRequest == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.SealingRemoveRequest(p0, p1)\n}\n```",
3238-
"summary": "SealingSchedRemove removes a request from sealing pipeline\n",
3238+
"summary": "SealingRemoveRequest removes a request from sealing pipeline\n",
32393239
"paramStructure": "by-position",
32403240
"params": [
32413241
{

documentation/en/api-v0-methods-miner.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1167,7 +1167,7 @@ Inputs:
11671167
Response: `{}`
11681168

11691169
### SealingRemoveRequest
1170-
SealingSchedRemove removes a request from sealing pipeline
1170+
SealingRemoveRequest removes a request from sealing pipeline
11711171

11721172

11731173
Perms: admin

0 commit comments

Comments
 (0)