blob: 1898ca9d405038bd072e7404504e8605eb7cbc39 [file] [log] [blame]
package daemon
import (
"github.com/docker/docker/api/types"
"github.com/opencontainers/runc/libcontainer"
)
// convertStatsToAPITypes converts the libcontainer.Stats to the api specific
// structs. This is done to preserve API compatibility and versioning.
func convertStatsToAPITypes(ls *libcontainer.Stats) *types.StatsJSON {
// TODO FreeBSD. Refactor accordingly to fill in stats.
s := &types.StatsJSON{}
return s
}