cli-plugins/manager: rename var that shadowed arg in test
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
abd02b6a23
commit
fdcfd229aa
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user