Chore: Enable Grafana version check when installing plugins (#103176)

This commit is contained in:
Andres Martinez Gotor
2025-04-01 15:35:09 +02:00
committed by GitHub
parent cf74aa1c70
commit 8f0b2d9fd5
@@ -140,9 +140,7 @@ func doInstallPlugin(ctx context.Context, pluginID, version string, o pluginInst
GrafanaComAPIToken: o.gcomToken,
})
// FIXME: Re-enable grafanaVersion. This check was broken in 10.2 so disabling it for the moment.
// Expected to be re-enabled in 12.x.
compatOpts := repo.NewCompatOpts("", runtime.GOOS, runtime.GOARCH)
compatOpts := repo.NewCompatOpts(services.GrafanaVersion, runtime.GOOS, runtime.GOARCH)
var archive *repo.PluginArchive
var err error