Chore: Enable Grafana version check when installing plugins (#103176)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user