mirror of
https://github.com/kataras/iris.git
synced 2025-12-23 04:47:02 +00:00
POI
Former-commit-id: c572c183471871d5bc5f16bb4fa0551ff43a7a1e
This commit is contained in:
@@ -99,6 +99,11 @@ func checkVersion() {
|
||||
}
|
||||
}
|
||||
|
||||
if !shouldUpdate {
|
||||
golog.Infof("Ignore updates? Disable version checker via:\napp.Run(..., iris.WithoutVersionChecker)")
|
||||
return
|
||||
}
|
||||
|
||||
if shouldUpdate {
|
||||
goget := strings.Split(updateCmd, " ")
|
||||
// go get -u github.com/:owner/:repo
|
||||
@@ -111,6 +116,6 @@ func checkVersion() {
|
||||
return
|
||||
}
|
||||
|
||||
golog.Infof("Update process finished.\nManual restart is required to apply the changes.\n")
|
||||
golog.Infof("Update process finished.\nManual restart is required to apply the changes...")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user