lntest: fix linter stylecheck and containedctx

This commit is contained in:
yyforyongyu committed 2023-02-24 01:35:16 +08:00
1 parent 0c50d4379f
commit 28744d89c7
5 files changed
+30 -29

No files matched your search

+1 -1
View File
@@ -49,7 +49,7 @@ type HarnessRPC struct {
// runCtx is a context with cancel method. It's used to signal when the
// node needs to quit, and used as the parent context when spawning
// children contexts for RPC requests.
runCtx context.Context
runCtx context.Context //nolint:containedctx
cancel context.CancelFunc
}