mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Add missing sandboxes routes
Signed-off-by: Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp>
This commit is contained in:
parent
2a783ad3a9
commit
72eb02d807
1 changed files with 4 additions and 0 deletions
|
@ -199,6 +199,10 @@ func (d *dnetConnection) dnetDaemon() error {
|
||||||
post.Methods("GET", "PUT", "POST", "DELETE").HandlerFunc(httpHandler)
|
post.Methods("GET", "PUT", "POST", "DELETE").HandlerFunc(httpHandler)
|
||||||
post = r.PathPrefix("/services").Subrouter()
|
post = r.PathPrefix("/services").Subrouter()
|
||||||
post.Methods("GET", "PUT", "POST", "DELETE").HandlerFunc(httpHandler)
|
post.Methods("GET", "PUT", "POST", "DELETE").HandlerFunc(httpHandler)
|
||||||
|
post = r.PathPrefix("/{.*}/sandboxes").Subrouter()
|
||||||
|
post.Methods("GET", "PUT", "POST", "DELETE").HandlerFunc(httpHandler)
|
||||||
|
post = r.PathPrefix("/sandboxes").Subrouter()
|
||||||
|
post.Methods("GET", "PUT", "POST", "DELETE").HandlerFunc(httpHandler)
|
||||||
return http.ListenAndServe(d.addr, r)
|
return http.ListenAndServe(d.addr, r)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue