1
0
mirror of https://github.com/moby/moby.git synced 2025-07-30 18:23:29 +03:00

remove deprecated feature of passing HostConfig at API container start

Signed-off-by: Shijiang Wei <mountkin@gmail.com>
This commit is contained in:
Shijiang Wei
2016-05-07 18:05:26 +08:00
parent 74c7363965
commit 0a8386c8be
8 changed files with 287 additions and 243 deletions

View File

@ -5,6 +5,14 @@ import (
"github.com/docker/docker/api/server/router"
)
type validationError struct {
error
}
func (validationError) IsValidationError() bool {
return true
}
// containerRouter is a router to talk with the container controller
type containerRouter struct {
backend Backend