diff --git a/pkg/cmd/grafana-cli/services/services.go b/pkg/cmd/grafana-cli/services/services.go index c23c716b62f..1ffc60abf4c 100644 --- a/pkg/cmd/grafana-cli/services/services.go +++ b/pkg/cmd/grafana-cli/services/services.go @@ -12,7 +12,7 @@ import ( var IoHelper m.IoUtil = IoUtilImp{} func ListAllPlugins(repoUrl string) (m.PluginRepo, error) { - res, _ := goreq.Request{Uri: repoUrl}.Do() + res, _ := goreq.Request{Uri: repoUrl, MaxRedirects: 3}.Do() var resp m.PluginRepo err := res.Body.FromJsonTo(&resp)