mirror of
https://github.com/clearlinux/libnetwork.git
synced 2026-12-04 11:53:42 +00:00
Merge pull request #501 from tmakita/fix-sandboxes-api
Add missing sandboxes routes
This commit is contained in:
@@ -199,6 +199,10 @@ func (d *dnetConnection) dnetDaemon() error {
|
||||
post.Methods("GET", "PUT", "POST", "DELETE").HandlerFunc(httpHandler)
|
||||
post = r.PathPrefix("/services").Subrouter()
|
||||
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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user