Plugins: Fix info log statement when installing plugin dependencies (#71298)

fix info log statement
This commit is contained in:
Will Browne 2023-07-11 10:27:40 +02:00 committed by GitHub
parent 9945c02405
commit 440596bf52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ func (m *PluginInstaller) Add(ctx context.Context, pluginID, version string, opt
// download dependency plugins
pathsToScan := []string{extractedArchive.Path}
for _, dep := range extractedArchive.Dependencies {
m.log.Info("Fetching %s dependencies...", dep.ID)
m.log.Info(fmt.Sprintf("Fetching %s dependencies...", dep.ID))
d, err := m.pluginRepo.GetPluginArchive(ctx, dep.ID, dep.Version, compatOpts)
if err != nil {
return fmt.Errorf("%v: %w", fmt.Sprintf("failed to download plugin %s from repository", dep.ID), err)