Set logger for cloudprovider plugin

Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
pull/223/head
Andy Goldstein 2017-11-29 13:54:20 -05:00
parent 1f7e9b65e8
commit dc484d1566
1 changed files with 2 additions and 1 deletions

View File

@ -265,7 +265,8 @@ func (m *manager) getCloudProviderPlugin(name string, kind PluginKind) (interfac
// build a plugin client that can dispense all of the PluginKinds it's registered for
clientBuilder := newClientBuilder(baseConfig()).
withCommand(pluginInfo.commandName, pluginInfo.commandArgs...)
withCommand(pluginInfo.commandName, pluginInfo.commandArgs...).
withLogger(m.logger)
for _, kind := range pluginInfo.kinds {
clientBuilder.withPlugin(kind, pluginForKind(kind))