mirror of https://github.com/docker/cli.git
Merge pull request #31354 from anusha-ragunathan/dial_socket
Net dial to the plugin socket during enable.
This commit is contained in:
commit
9bd7e5931e
|
@ -60,8 +60,8 @@ func (cli *Client) PluginInstall(ctx context.Context, name string, options types
|
|||
return
|
||||
}
|
||||
|
||||
err = cli.PluginEnable(ctx, name, types.PluginEnableOptions{Timeout: 0})
|
||||
pw.CloseWithError(err)
|
||||
enableErr := cli.PluginEnable(ctx, name, types.PluginEnableOptions{Timeout: 0})
|
||||
pw.CloseWithError(enableErr)
|
||||
}()
|
||||
return pr, nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue