cli-plugins/manager: rename var that shadowed arg in test

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2025-03-18 11:24:57 +01:00
parent abd02b6a23
commit fdcfd229aa
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C

View File

@ -69,8 +69,8 @@ func invokeAndCollectHooks(ctx context.Context, cfg *configfile.ConfigFile, root
return nil return nil
} }
nextSteps := make([]string, 0, len(pluginsCfg)) nextSteps := make([]string, 0, len(pluginsCfg))
for pluginName, cfg := range pluginsCfg { for pluginName, pluginCfg := range pluginsCfg {
match, ok := pluginMatch(cfg, subCmdStr) match, ok := pluginMatch(pluginCfg, subCmdStr)
if !ok { if !ok {
continue continue
} }