From 66631fe3940b25ad9d6550e63005f8cd14d40b2f Mon Sep 17 00:00:00 2001 From: Andrew Sisley Date: Tue, 21 May 2024 14:42:13 -0400 Subject: [PATCH] PR FIXUP - Use the context added to the func sig Annoyingly I added it exactly and only for this reason and somehow forgot/got distracted from actually using it... --- node/acp.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node/acp.go b/node/acp.go index 61fd0e8837..77b14cc0e9 100644 --- a/node/acp.go +++ b/node/acp.go @@ -72,12 +72,12 @@ func NewACP(ctx context.Context, opts ...ACPOpt) (immutable.Option[acp.ACP], err case LocalACPType: var acpLocal acp.ACPLocal - acpLocal.Init(context.Background(), options.path) + acpLocal.Init(ctx, options.path) return immutable.Some[acp.ACP](&acpLocal), nil default: var acpLocal acp.ACPLocal - acpLocal.Init(context.Background(), options.path) + acpLocal.Init(ctx, options.path) return immutable.Some[acp.ACP](&acpLocal), nil } }