@@ -38,8 +38,8 @@ func (r *containerRouter) initRoutes() {
3838 router .NewGetRoute ("/containers/{name:.*}/changes" , r .getContainersChanges ),
3939 router .NewGetRoute ("/containers/{name:.*}/json" , r .getContainersByName ),
4040 router .NewGetRoute ("/containers/{name:.*}/top" , r .getContainersTop ),
41- router .NewGetRoute ("/containers/{name:.*}/logs" , r .getContainersLogs , router . WithCancel ),
42- router .NewGetRoute ("/containers/{name:.*}/stats" , r .getContainersStats , router . WithCancel ),
41+ router .NewGetRoute ("/containers/{name:.*}/logs" , r .getContainersLogs ),
42+ router .NewGetRoute ("/containers/{name:.*}/stats" , r .getContainersStats ),
4343 router .NewGetRoute ("/containers/{name:.*}/attach/ws" , r .wsContainersAttach ),
4444 router .NewGetRoute ("/exec/{id:.*}/json" , r .getExecByID ),
4545 router .NewGetRoute ("/containers/{name:.*}/archive" , r .getContainersArchive ),
@@ -51,7 +51,7 @@ func (r *containerRouter) initRoutes() {
5151 router .NewPostRoute ("/containers/{name:.*}/restart" , r .postContainersRestart ),
5252 router .NewPostRoute ("/containers/{name:.*}/start" , r .postContainersStart ),
5353 router .NewPostRoute ("/containers/{name:.*}/stop" , r .postContainersStop ),
54- router .NewPostRoute ("/containers/{name:.*}/wait" , r .postContainersWait , router . WithCancel ),
54+ router .NewPostRoute ("/containers/{name:.*}/wait" , r .postContainersWait ),
5555 router .NewPostRoute ("/containers/{name:.*}/resize" , r .postContainersResize ),
5656 router .NewPostRoute ("/containers/{name:.*}/attach" , r .postContainersAttach ),
5757 router .NewPostRoute ("/containers/{name:.*}/copy" , r .postContainersCopy ), // Deprecated since 1.8, Errors out since 1.12
@@ -60,7 +60,7 @@ func (r *containerRouter) initRoutes() {
6060 router .NewPostRoute ("/exec/{name:.*}/resize" , r .postContainerExecResize ),
6161 router .NewPostRoute ("/containers/{name:.*}/rename" , r .postContainerRename ),
6262 router .NewPostRoute ("/containers/{name:.*}/update" , r .postContainerUpdate ),
63- router .NewPostRoute ("/containers/prune" , r .postContainersPrune , router . WithCancel ),
63+ router .NewPostRoute ("/containers/prune" , r .postContainersPrune ),
6464 router .NewPostRoute ("/commit" , r .postCommit ),
6565 // PUT
6666 router .NewPutRoute ("/containers/{name:.*}/archive" , r .putContainersArchive ),
0 commit comments