Merge pull request #13193 from grafana/cp-5.2.4

Cherry picks v5.2.4
This commit is contained in:
Marcus Efraimsson
2018-09-07 16:35:16 +02:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
"company": "Grafana Labs"
},
"name": "grafana",
"version": "5.2.3",
"version": "5.2.4",
"repository": {
"type": "git",
"url": "http://github.com/grafana/grafana.git"
@@ -152,7 +152,7 @@ func downloadFile(pluginName, filePath, url string) (err error) {
return err
}
r, err := zip.NewReader(bytes.NewReader(body), resp.ContentLength)
r, err := zip.NewReader(bytes.NewReader(body), int64(len(body)))
if err != nil {
return err
}