1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Remove /containers/ps from the api router.

This route was deprecated more than two years ago in the linked
commit[1]. It's not referenced anywhere in the documentation and it's
time to stop maintaning it.

[1]: 4f9443927e

Signed-off-by: David Calavera <david.calavera@gmail.com>
This commit is contained in:
David Calavera 2015-09-01 05:17:35 -04:00
parent d080f6524b
commit b5cc077864

View file

@ -317,7 +317,6 @@ func createRouter(s *Server) *mux.Router {
"/images/{name:.*}/get": s.getImagesGet, "/images/{name:.*}/get": s.getImagesGet,
"/images/{name:.*}/history": s.getImagesHistory, "/images/{name:.*}/history": s.getImagesHistory,
"/images/{name:.*}/json": s.getImagesByName, "/images/{name:.*}/json": s.getImagesByName,
"/containers/ps": s.getContainersJSON,
"/containers/json": s.getContainersJSON, "/containers/json": s.getContainersJSON,
"/containers/{name:.*}/export": s.getContainersExport, "/containers/{name:.*}/export": s.getContainersExport,
"/containers/{name:.*}/changes": s.getContainersChanges, "/containers/{name:.*}/changes": s.getContainersChanges,