mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Windows: refactor stats
Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
parent
c696993452
commit
48f1cb4ebe
4 changed files with 93 additions and 70 deletions
14
daemon/stats_windows.go
Normal file
14
daemon/stats_windows.go
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
package daemon
|
||||
|
||||
import (
|
||||
"github.com/docker/docker/api/types"
|
||||
"github.com/docker/libcontainer"
|
||||
)
|
||||
|
||||
// convertToAPITypes converts the libcontainer.Stats to the api specific
|
||||
// structs. This is done to preserve API compatibility and versioning.
|
||||
func convertToAPITypes(ls *libcontainer.Stats) *types.Stats {
|
||||
// TODO Windows. Refactor accordingly to fill in stats.
|
||||
s := &types.Stats{}
|
||||
return s
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue