mirror of
https://github.com/bcicen/ctop.git
synced 2024-08-30 18:23:19 +00:00
give metrics.MemPercent default negative value
This commit is contained in:
parent
8e995a37c6
commit
a6c6ecc6ee
@ -19,10 +19,11 @@ type Metrics struct {
|
||||
|
||||
func NewMetrics() Metrics {
|
||||
return Metrics{
|
||||
CPUUtil: -1,
|
||||
NetTx: -1,
|
||||
NetRx: -1,
|
||||
MemUsage: -1,
|
||||
CPUUtil: -1,
|
||||
NetTx: -1,
|
||||
NetRx: -1,
|
||||
MemUsage: -1,
|
||||
MemPercent: -1,
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user