mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-11-04 16:40:21 +00:00
🔨 开启 pprof、优化 agent
This commit is contained in:
1 parent
454a8721ce
commit
a08e3fa1f1
8 files changed
+13
-8
No files matched your search
+2
-3
@@ -62,10 +62,9 @@ func doSelfUpdate() {
|
||||
return
|
||||
}
|
||||
if latest.Version.Equals(v) {
|
||||
// latest version is the same as current version. It means current binary is up to date.
|
||||
println("Current binary is the latest version", version)
|
||||
println("Current binary is up to date", version)
|
||||
} else {
|
||||
println("Successfully updated to version", latest.Version)
|
||||
println("Upgrade successfully", latest.Version)
|
||||
os.Exit(1)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user