Commit e4a24e17 by Carl Bergquist

Merge pull request #4969 from peggyl/peggyl/fix-update-checker-typo

Fix typo in error message from update checker
parents c299b869 9b0da20d
...@@ -91,14 +91,14 @@ func checkForUpdates() { ...@@ -91,14 +91,14 @@ func checkForUpdates() {
resp2, err := client.Get("https://raw.githubusercontent.com/grafana/grafana/master/latest.json") resp2, err := client.Get("https://raw.githubusercontent.com/grafana/grafana/master/latest.json")
if err != nil { if err != nil {
log.Trace("Failed to get lates.json repo from github: %v", err.Error()) log.Trace("Failed to get latest.json repo from github: %v", err.Error())
return return
} }
defer resp2.Body.Close() defer resp2.Body.Close()
body, err = ioutil.ReadAll(resp2.Body) body, err = ioutil.ReadAll(resp2.Body)
if err != nil { if err != nil {
log.Trace("Update check failed, reading response from github.net, %v", err.Error()) log.Trace("Update check failed, reading response from github.com, %v", err.Error())
return return
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment