From fdcfd229aac6d447c8e8a1cbd66509a873c902ef Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Tue, 18 Mar 2025 11:24:57 +0100 Subject: [PATCH] cli-plugins/manager: rename var that shadowed arg in test Signed-off-by: Sebastiaan van Stijn --- cli-plugins/manager/hooks.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli-plugins/manager/hooks.go b/cli-plugins/manager/hooks.go index b92dab4301..f96a87d605 100644 --- a/cli-plugins/manager/hooks.go +++ b/cli-plugins/manager/hooks.go @@ -69,8 +69,8 @@ func invokeAndCollectHooks(ctx context.Context, cfg *configfile.ConfigFile, root return nil } nextSteps := make([]string, 0, len(pluginsCfg)) - for pluginName, cfg := range pluginsCfg { - match, ok := pluginMatch(cfg, subCmdStr) + for pluginName, pluginCfg := range pluginsCfg { + match, ok := pluginMatch(pluginCfg, subCmdStr) if !ok { continue }