From 9696f8d64d06aa4809eccb0a7b018fea63cbd39a Mon Sep 17 00:00:00 2001 From: Grant Linville Date: Mon, 12 Aug 2024 13:45:28 -0400 Subject: [PATCH] fix: share credentials in context tools (#785) Signed-off-by: Grant Linville --- pkg/types/tool.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/types/tool.go b/pkg/types/tool.go index 7e08f604..789215b6 100644 --- a/pkg/types/tool.go +++ b/pkg/types/tool.go @@ -752,7 +752,7 @@ func (t Tool) GetCredentialTools(prg Program, agentGroup []ToolReference) ([]Too result.AddAll(referencedTool.GetToolRefsFromNames(referencedTool.ExportCredentials)) } - contextToolRefs, err := t.getDirectContextToolRefs(prg) + contextToolRefs, err := t.GetContextTools(prg) if err != nil { return nil, err }