give metrics.MemPercent default negative value

This commit is contained in:
Bradley Cicenas 2017-03-07 11:02:40 +11:00
parent 8e995a37c6
commit a6c6ecc6ee

View File

@ -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,
}
}