Fix linter errors

This commit is contained in:
Daniel
2020-04-09 17:01:46 +02:00
parent bd7d08960e
commit d1430fe79d
3 changed files with 3 additions and 1 deletions

View File

@@ -329,7 +329,7 @@ func checkOnlineStatus(ctx context.Context) {
// this might be a weird captive portal, just direct the user there
updateOnlineStatus(StatusPortal, "detectportal.firefox.com", "http request succeeded, response content not as expected")
}
// close the body now as we plan to re-uise the http.Client
// close the body now as we plan to reuse the http.Client
response.Body.Close()
// 3) try a https request