mirror of
https://github.com/kataras/iris.git
synced 2025-02-09 02:34:55 +01:00
add vendor for go-version (the auto-updater will probably be removed on the next major release due to go modules)
Former-commit-id: 3d0bb6e3a440852f0d0e8b9ed2f78609e69ed263
This commit is contained in:
parent
01b5f6089d
commit
f2bac496b9
|
@ -26,7 +26,7 @@ func fetch() (*version.Version, string) {
|
||||||
defer r.Body.Close()
|
defer r.Body.Close()
|
||||||
|
|
||||||
if r.StatusCode >= 400 {
|
if r.StatusCode >= 400 {
|
||||||
golog.Debugf("Internet connection is missing, updater is unable to fetch the latest Iris version\n", err)
|
golog.Debugf("Internet connection is missing, updater is unable to fetch the latest Iris version\n%v", err)
|
||||||
return nil, ""
|
return nil, ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user