Set logger for cloudprovider plugin
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>pull/223/head
parent
1f7e9b65e8
commit
dc484d1566
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue