FetchLatestReleases: fix the error log message

This commit is contained in:
Michael Ploujnikov 2016-01-19 21:32:33 -05:00
parent 6cce073da5
commit 39c5c8c1d1

View File

@ -56,7 +56,7 @@ func FetchLatestReleases(releasesURL, version string) []Release {
return nil return nil
} }
if resp.StatusCode > 299 { 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 return nil
} }