mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
move acceptconnections as builtin
Docker-DCO-1.1-Signed-off-by: Victor Vieux <vieux@docker.com> (github: vieux)
This commit is contained in:
parent
f3736265fd
commit
937f8f2d81
3 changed files with 8 additions and 7 deletions
|
@ -28,7 +28,10 @@ func Register(eng *engine.Engine) error {
|
|||
|
||||
// remote: a RESTful api for cross-docker communication
|
||||
func remote(eng *engine.Engine) error {
|
||||
return eng.Register("serveapi", apiserver.ServeApi)
|
||||
if err := eng.Register("serveapi", apiserver.ServeApi); err != nil {
|
||||
return err
|
||||
}
|
||||
return eng.Register("acceptconnections", apiserver.AcceptConnections)
|
||||
}
|
||||
|
||||
// daemon: a default execution and storage backend for Docker on Linux,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue