Merge pull request #31354 from anusha-ragunathan/dial_socket

Net dial to the plugin socket during enable.
This commit is contained in:
Sebastiaan van Stijn 2017-02-28 18:24:56 +01:00 committed by GitHub
commit 9bd7e5931e
1 changed files with 2 additions and 2 deletions

View File

@ -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
}