diff options
author | Sujil02 <sushah@redhat.com> | 2020-05-21 18:23:12 -0400 |
---|---|---|
committer | Sujil02 <sushah@redhat.com> | 2020-05-22 07:49:55 -0400 |
commit | a61f9fd54703c2e77ede4e0e1504f2e499eb5baf (patch) | |
tree | e60bccf54ec9b9615298db82f4687d5edd21849b /pkg/api/server | |
parent | 05a061282c02331425e1caceae80c6b44b7dc9ec (diff) | |
download | podman-a61f9fd54703c2e77ede4e0e1504f2e499eb5baf.tar.gz podman-a61f9fd54703c2e77ede4e0e1504f2e499eb5baf.tar.bz2 podman-a61f9fd54703c2e77ede4e0e1504f2e499eb5baf.zip |
Removes remote system reset functionality. skip e2e test for remote.
As system reset too dangerous for remote use, deleting the functionality
and the test case.
Signed-off-by: Sujil02 <sushah@redhat.com>
Diffstat (limited to 'pkg/api/server')
-rw-r--r-- | pkg/api/server/register_system.go | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/pkg/api/server/register_system.go b/pkg/api/server/register_system.go index 8a942a888..118ad2d08 100644 --- a/pkg/api/server/register_system.go +++ b/pkg/api/server/register_system.go @@ -27,20 +27,6 @@ func (s *APIServer) registerSystemHandlers(r *mux.Router) error { // 500: // $ref: "#/responses/InternalError" r.Handle(VersionedPath("/libpod/system/prune"), s.APIHandler(libpod.SystemPrune)).Methods(http.MethodPost) - // swagger:operation POST /libpod/system/reset libpod resetSystem - // --- - // tags: - // - system - // summary: Reset podman storage - // description: All containers will be stopped and removed, and all images, volumes and container content will be removed. - // produces: - // - application/json - // responses: - // 200: - // description: no error - // 500: - // $ref: "#/responses/InternalError" - r.Handle(VersionedPath("/libpod/system/reset"), s.APIHandler(libpod.SystemReset)).Methods(http.MethodPost) // swagger:operation GET /libpod/system/df libpod df // --- // tags: |