diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-01-22 12:53:57 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-22 12:53:57 -0500 |
commit | c40664d698e8324d0c7c3cff072410c1a8af6a36 (patch) | |
tree | 8e7097e1c8db80e204ef725c960aefa8b5c980e0 /pkg/api/handlers/handler.go | |
parent | 9f146b1b54736ec1b683e3a7381c85d10b1a66a3 (diff) | |
parent | 68896b18e579d70822543748a2f5d95a55daaca1 (diff) | |
download | podman-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.go | 16 |
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 +// } |