diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-02-13 02:34:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-13 02:34:57 +0100 |
commit | c16e12f6c51e03dd950cbe4b9ac3bb92519fef71 (patch) | |
tree | b3aa140ed2aa14aaf44bcd665ebc741955f2420d /vendor/github.com/gorilla/mux/context.go | |
parent | 502a87a1b16216b4ba5044817a648d3c865d63b4 (diff) | |
parent | b916263d013361e2ac3020ade598a65d46a77465 (diff) | |
download | podman-c16e12f6c51e03dd950cbe4b9ac3bb92519fef71.tar.gz podman-c16e12f6c51e03dd950cbe4b9ac3bb92519fef71.tar.bz2 podman-c16e12f6c51e03dd950cbe4b9ac3bb92519fef71.zip |
Merge pull request #5181 from containers/dependabot/go_modules/github.com/gorilla/mux-1.7.4
build(deps): bump github.com/gorilla/mux from 1.7.3 to 1.7.4
Diffstat (limited to 'vendor/github.com/gorilla/mux/context.go')
-rw-r--r-- | vendor/github.com/gorilla/mux/context.go | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/vendor/github.com/gorilla/mux/context.go b/vendor/github.com/gorilla/mux/context.go deleted file mode 100644 index 665940a26..000000000 --- a/vendor/github.com/gorilla/mux/context.go +++ /dev/null @@ -1,18 +0,0 @@ -package mux - -import ( - "context" - "net/http" -) - -func contextGet(r *http.Request, key interface{}) interface{} { - return r.Context().Value(key) -} - -func contextSet(r *http.Request, key, val interface{}) *http.Request { - if val == nil { - return r - } - - return r.WithContext(context.WithValue(r.Context(), key, val)) -} |