Add task.Metrics to windows
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
@@ -270,6 +270,10 @@ func (t *task) Process(ctx context.Context, id string) (p runtime.Process, err e
|
||||
return p, err
|
||||
}
|
||||
|
||||
func (t *task) Metrics(ctx context.Context) (interface{}, error) {
|
||||
return nil, errors.Wrap(errdefs.ErrUnavailable, "not supported")
|
||||
}
|
||||
|
||||
func (t *task) newProcess(ctx context.Context, id string, conf *hcsshim.ProcessConfig, pset *pipeSet) (*process, error) {
|
||||
var (
|
||||
err error
|
||||
|
Reference in New Issue
Block a user