Skip to content

Commit

Permalink
Set logger for cloudprovider plugin
Browse files Browse the repository at this point in the history
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
  • Loading branch information
ncdc committed Nov 29, 2017
1 parent 1f7e9b6 commit dc484d1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/plugin/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit dc484d1

Please sign in to comment.