mirror of
https://github.com/fankes/komari-agent.git
synced 2025-10-18 18:49:23 +08:00
fix: 可用模式不自动开启检测buffer
This commit is contained in:
@@ -68,7 +68,7 @@ func Execute() {
|
||||
break
|
||||
}
|
||||
if arg == "-memory-mode-available" || arg == "--memory-mode-available" {
|
||||
flags.MemoryIncludeCache = true
|
||||
//flags.MemoryIncludeCache = true
|
||||
log.Println("WARNING: The --memory-mode-available flag is deprecated in version 1.0.70 and later. Use --memory-include-cache to report memory usage including cache/buffer.")
|
||||
os.Args = append(os.Args[:i], os.Args[i+1:]...)
|
||||
}
|
||||
|
Reference in New Issue
Block a user