Add initial framework for stats
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
parent
d9e8fe62cb
commit
2290eaaccd
4 changed files with 33 additions and 1 deletions
|
@ -37,6 +37,10 @@ func (c *runcContainer) Start() error {
|
|||
return c.initProcess.cmd.Start()
|
||||
}
|
||||
|
||||
func (c *runcContainer) Stats() (*runtime.Stat, error) {
|
||||
return nil, errors.New("containerd: runc does not support stats in containerd")
|
||||
}
|
||||
|
||||
func (c *runcContainer) Path() string {
|
||||
return c.path
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue