containerd/supervisor_unsupported.go
David Calavera 05f20c993d Make supervisor.go to compile without libcontainer.
Signed-off-by: David Calavera <david.calavera@gmail.com>
2015-12-01 18:47:27 -05:00

13 lines
217 B
Go

// +build !libcontainer
package containerd
import (
"errors"
"github.com/docker/containerd/runtime"
)
func newRuntime(stateDir string) (runtime.Runtime, error) {
return nil, errors.New("Unsupported runtime")
}