From 0d1d7c29c21b41de79be67ef4dcedb4f973bf7c2 Mon Sep 17 00:00:00 2001 From: chuangjinglu Date: Sat, 23 Nov 2024 17:14:35 +0800 Subject: [PATCH] chore: fix function name (#12716) Signed-off-by: chuangjinglu --- api/api_storage.go | 2 +- build/openrpc/miner.json | 2 +- documentation/en/api-v0-methods-miner.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/api/api_storage.go b/api/api_storage.go index 46e3ce51e11..fb4fadff823 100644 --- a/api/api_storage.go +++ b/api/api_storage.go @@ -172,7 +172,7 @@ type StorageMiner interface { // SealingSchedDiag dumps internal sealing scheduler state SealingSchedDiag(ctx context.Context, doSched bool) (interface{}, error) //perm:admin SealingAbort(ctx context.Context, call storiface.CallID) error //perm:admin - // SealingSchedRemove removes a request from sealing pipeline + // SealingRemoveRequest removes a request from sealing pipeline SealingRemoveRequest(ctx context.Context, schedId uuid.UUID) error //perm:admin // paths.SectorIndex diff --git a/build/openrpc/miner.json b/build/openrpc/miner.json index 674486bee72..4d7cb59962c 100644 --- a/build/openrpc/miner.json +++ b/build/openrpc/miner.json @@ -3235,7 +3235,7 @@ { "name": "Filecoin.SealingRemoveRequest", "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```", - "summary": "SealingSchedRemove removes a request from sealing pipeline\n", + "summary": "SealingRemoveRequest removes a request from sealing pipeline\n", "paramStructure": "by-position", "params": [ { diff --git a/documentation/en/api-v0-methods-miner.md b/documentation/en/api-v0-methods-miner.md index 3eacfe15865..5e22a9efa7f 100644 --- a/documentation/en/api-v0-methods-miner.md +++ b/documentation/en/api-v0-methods-miner.md @@ -1167,7 +1167,7 @@ Inputs: Response: `{}` ### SealingRemoveRequest -SealingSchedRemove removes a request from sealing pipeline +SealingRemoveRequest removes a request from sealing pipeline Perms: admin