mirror of
https://github.com/kataras/iris.git
synced 2026-01-08 04:21:57 +00: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:
@@ -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, ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user