Revert "Added Ports information to the expanded view"

This reverts commit b2165b6a29.
This commit is contained in:
Kenan Rhoton
2017-05-15 06:53:15 +02:00
parent ccb44c964c
commit 02d1050130
4 changed files with 8 additions and 90 deletions

View File

@@ -18,22 +18,18 @@ type Metrics struct {
IOBytesRead int64
IOBytesWrite int64
Pids int
PortsExposed []int64
PortsOpen [][]int64
}
func NewMetrics() Metrics {
return Metrics{
CPUUtil: -1,
NetTx: -1,
NetRx: -1,
MemUsage: -1,
MemPercent: -1,
IOBytesRead: -1,
IOBytesWrite: -1,
Pids: -1,
PortsExposed: nil,
PortsOpen: nil,
CPUUtil: -1,
NetTx: -1,
NetRx: -1,
MemUsage: -1,
MemPercent: -1,
IOBytesRead: -1,
IOBytesWrite: -1,
Pids: -1,
}
}