Merge pull request #2715 from plouj/master

FetchLatestReleases: fix the error log message
This commit is contained in:
Audrius Butkevicius 2016-01-20 08:41:52 +00:00
commit e267bf3e09

View File

@ -56,7 +56,7 @@ func FetchLatestReleases(releasesURL, version string) []Release {
return nil
}
if resp.StatusCode > 299 {
l.Infoln("API call returned HTTP error: %s", resp.Status)
l.Infoln("API call returned HTTP error:", resp.Status)
return nil
}