This commit is contained in:
2022-11-05 23:19:09 +01:00
parent d01dff5774
commit 12880e9ab3
4 changed files with 14 additions and 19 deletions

View File

@@ -234,7 +234,10 @@ func (pr *PluginRegister) Do(ctx context.Context, clientName string, commandName
}
errgroup.Go(func() error {
return client.plugin.Do(ctx, commandName, args)
return client.plugin.Do(ctx, &DoCommand{
CommandName: commandName,
Args: args,
})
})
if err := errgroup.Wait(); err != nil {