48f1cb4ebe
Signed-off-by: John Howard <jhoward@microsoft.com>
14 lines
397 B
Go
14 lines
397 B
Go
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
|
|
}
|