mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-08-15 11:46:06 +00:00
Set logger for cloudprovider plugin
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user