mirror of
https://github.com/bcicen/ctop.git
synced 2025-12-06 23:26:45 +08:00
unpad empty precision from byte formatting
This commit is contained in:
@@ -15,11 +15,9 @@ type Docker struct {
|
||||
|
||||
func NewDocker(client *api.Client, id string) *Docker {
|
||||
c := &Docker{
|
||||
Metrics{},
|
||||
make(chan Metrics),
|
||||
make(chan bool),
|
||||
0,
|
||||
0,
|
||||
Metrics: Metrics{},
|
||||
stream: make(chan Metrics),
|
||||
done: make(chan bool),
|
||||
}
|
||||
|
||||
stats := make(chan *api.Stats)
|
||||
|
||||
Reference in New Issue
Block a user