From 440596bf52f0dae2f9e8307794acaf3fbc76e1fc Mon Sep 17 00:00:00 2001 From: Will Browne Date: Tue, 11 Jul 2023 10:27:40 +0200 Subject: [PATCH] Plugins: Fix info log statement when installing plugin dependencies (#71298) fix info log statement --- pkg/plugins/manager/installer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/plugins/manager/installer.go b/pkg/plugins/manager/installer.go index db1b393f418..834beca8088 100644 --- a/pkg/plugins/manager/installer.go +++ b/pkg/plugins/manager/installer.go @@ -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)