diff --git a/pkg/cmd/grafana-cli/commands/install_command.go b/pkg/cmd/grafana-cli/commands/install_command.go index bba6f52db98..6b37b4b3231 100644 --- a/pkg/cmd/grafana-cli/commands/install_command.go +++ b/pkg/cmd/grafana-cli/commands/install_command.go @@ -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