Chore: Check version compatibilty when installing a plugin (#92200)
This commit is contained in:
@@ -134,7 +134,9 @@ func doInstallPlugin(ctx context.Context, pluginID, version string, o pluginInst
|
||||
Logger: services.Logger,
|
||||
})
|
||||
|
||||
compatOpts := repo.NewCompatOpts(services.GrafanaVersion, runtime.GOOS, runtime.GOARCH)
|
||||
// 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)
|
||||
|
||||
var archive *repo.PluginArchive
|
||||
var err error
|
||||
|
||||
Reference in New Issue
Block a user