summaryrefslogtreecommitdiff
path: root/pkg/api/handlers/libpod
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-05-22 15:38:32 +0200
committerGitHub <noreply@github.com>2020-05-22 15:38:32 +0200
commitcd4bb48bcfcb0b6fb845a5f4a0d9e060e127ebb0 (patch)
tree9a6cb21268e28340806ea05d7b4a20916a8fc3da /pkg/api/handlers/libpod
parentd6cee18273810a21c96f4161956676d78155b45a (diff)
parenta61f9fd54703c2e77ede4e0e1504f2e499eb5baf (diff)
downloadpodman-cd4bb48bcfcb0b6fb845a5f4a0d9e060e127ebb0.tar.gz
podman-cd4bb48bcfcb0b6fb845a5f4a0d9e060e127ebb0.tar.bz2
podman-cd4bb48bcfcb0b6fb845a5f4a0d9e060e127ebb0.zip
Merge pull request #6344 from sujil02/systemresettest
Removes remote system reset functionality. skip e2e test for remote.
Diffstat (limited to 'pkg/api/handlers/libpod')
-rw-r--r--pkg/api/handlers/libpod/system.go10
1 files changed, 0 insertions, 10 deletions
diff --git a/pkg/api/handlers/libpod/system.go b/pkg/api/handlers/libpod/system.go
index 81ed37b4a..f575546c9 100644
--- a/pkg/api/handlers/libpod/system.go
+++ b/pkg/api/handlers/libpod/system.go
@@ -71,16 +71,6 @@ func SystemPrune(w http.ResponseWriter, r *http.Request) {
utils.WriteResponse(w, http.StatusOK, systemPruneReport)
}
-// SystemReset Resets podman storage back to default state
-func SystemReset(w http.ResponseWriter, r *http.Request) {
- err := r.Context().Value("runtime").(*libpod.Runtime).Reset(r.Context())
- if err != nil {
- utils.InternalServerError(w, err)
- return
- }
- utils.WriteResponse(w, http.StatusOK, nil)
-}
-
func DiskUsage(w http.ResponseWriter, r *http.Request) {
// Options are only used by the CLI
options := entities.SystemDfOptions{}