Skip to content

Commit fdcfd22

Browse files
committed
cli-plugins/manager: rename var that shadowed arg in test
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent abd02b6 commit fdcfd22

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cli-plugins/manager/hooks.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ func invokeAndCollectHooks(ctx context.Context, cfg *configfile.ConfigFile, root
6969
return nil
7070
}
7171
nextSteps := make([]string, 0, len(pluginsCfg))
72-
for pluginName, cfg := range pluginsCfg {
73-
match, ok := pluginMatch(cfg, subCmdStr)
72+
for pluginName, pluginCfg := range pluginsCfg {
73+
match, ok := pluginMatch(pluginCfg, subCmdStr)
7474
if !ok {
7575
continue
7676
}

0 commit comments

Comments
 (0)