diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2021-03-09 09:25:19 +0100 |
---|---|---|
committer | Valentin Rothberg <rothberg@redhat.com> | 2021-03-09 09:27:03 +0100 |
commit | 2033fa4c794e8b0ac4c551073e5f7798fb729add (patch) | |
tree | 114682d632c9f1e4e89ca852a9a2bab40ccb8582 /pkg | |
parent | 789d579bc43cab0a179a17276478100b4b80e6fc (diff) | |
download | podman-2033fa4c794e8b0ac4c551073e5f7798fb729add.tar.gz podman-2033fa4c794e8b0ac4c551073e5f7798fb729add.tar.bz2 podman-2033fa4c794e8b0ac4c551073e5f7798fb729add.zip |
rm pkg/api/handlers/libpod/copy.go
Remove the file since it only contains dead code. The archive endpoints
are shared between the libpod and the compat API and both use the compat
package.
[NO TESTS NEEDED] since we're removing dead code.
Fixes: #9670
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/api/handlers/libpod/copy.go | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/pkg/api/handlers/libpod/copy.go b/pkg/api/handlers/libpod/copy.go deleted file mode 100644 index 4b345bacc..000000000 --- a/pkg/api/handlers/libpod/copy.go +++ /dev/null @@ -1,12 +0,0 @@ -package libpod - -import ( - "net/http" - - "github.com/containers/podman/v3/pkg/api/handlers/utils" - "github.com/pkg/errors" -) - -func Archive(w http.ResponseWriter, r *http.Request) { - utils.Error(w, "not implemented", http.StatusNotImplemented, errors.New("not implemented")) -} |