aboutsummaryrefslogtreecommitdiff
path: root/pkg/api/handlers/handler.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-01-22 12:53:57 -0500
committerGitHub <noreply@github.com>2020-01-22 12:53:57 -0500
commitc40664d698e8324d0c7c3cff072410c1a8af6a36 (patch)
tree8e7097e1c8db80e204ef725c960aefa8b5c980e0 /pkg/api/handlers/handler.go
parent9f146b1b54736ec1b683e3a7381c85d10b1a66a3 (diff)
parent68896b18e579d70822543748a2f5d95a55daaca1 (diff)
downloadpodman-c40664d698e8324d0c7c3cff072410c1a8af6a36.tar.gz
podman-c40664d698e8324d0c7c3cff072410c1a8af6a36.tar.bz2
podman-c40664d698e8324d0c7c3cff072410c1a8af6a36.zip
Merge pull request #4912 from jwhonce/wip/swagger
[CI:DOCS] Update build images
Diffstat (limited to 'pkg/api/handlers/handler.go')
-rw-r--r--pkg/api/handlers/handler.go16
1 files changed, 8 insertions, 8 deletions
diff --git a/pkg/api/handlers/handler.go b/pkg/api/handlers/handler.go
index 2efeb1379..4f303f6ab 100644
--- a/pkg/api/handlers/handler.go
+++ b/pkg/api/handlers/handler.go
@@ -36,11 +36,11 @@ func getRuntime(r *http.Request) *libpod.Runtime {
return r.Context().Value("runtime").(*libpod.Runtime)
}
-func getHeader(r *http.Request, k string) string {
- return r.Header.Get(k)
-}
-
-func hasHeader(r *http.Request, k string) bool {
- _, found := r.Header[k]
- return found
-}
+// func getHeader(r *http.Request, k string) string {
+// return r.Header.Get(k)
+// }
+//
+// func hasHeader(r *http.Request, k string) bool {
+// _, found := r.Header[k]
+// return found
+// }