From 04a8fbcaa40b561f07a6cc313ca15667f3d5e145 Mon Sep 17 00:00:00 2001 From: gammazero <11790789+gammazero@users.noreply.github.com> Date: Thu, 7 Nov 2024 08:11:45 -1000 Subject: [PATCH] fix comment --- core/node/helpers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/node/helpers.go b/core/node/helpers.go index 1c74e8c1873..46cf91148b4 100644 --- a/core/node/helpers.go +++ b/core/node/helpers.go @@ -14,7 +14,7 @@ type lcStartStop struct { LC fx.Lifecycle } -// Append runx CtxFunc, and appends it to the lifecycle +// Append wraps a finction into a fx.Hook and appends it to the fx.Lifecycle. func (lcss *lcStartStop) Append(f func() func()) { // Hooks are guaranteed to run in sequence. If a hook fails to start, its // OnStop won't be executed.