mirror of https://github.com/grafana/grafana.git
Plugins: Fix info log statement when installing plugin dependencies (#71298)
fix info log statement
This commit is contained in:
parent
9945c02405
commit
440596bf52
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue