unpad empty precision from byte formatting

This commit is contained in:
Bradley Cicenas
2017-01-20 15:56:49 +00:00
parent 1a615ed9fd
commit 5eda9e4d09
2 changed files with 20 additions and 7 deletions

View File

@@ -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)