diff options
author | Miloslav Trmač <mitr@redhat.com> | 2021-09-11 22:39:25 +0200 |
---|---|---|
committer | Miloslav Trmač <mitr@redhat.com> | 2021-12-10 18:16:20 +0100 |
commit | 1589d70bcb522e49c75632c4e0edff52d2e459c2 (patch) | |
tree | 60d469f87895d5f4f561538d3409d0f9c3e3d18f /pkg/servicereaper/service.go | |
parent | 2946e83493e2628c68819357ebc15bada38d45b5 (diff) | |
download | podman-1589d70bcb522e49c75632c4e0edff52d2e459c2.tar.gz podman-1589d70bcb522e49c75632c4e0edff52d2e459c2.tar.bz2 podman-1589d70bcb522e49c75632c4e0edff52d2e459c2.zip |
Use Header.Values in GetCredentials.has
It's possibly a bit more expensive, but semantically safer
because it does header normalization.
And we'll regain the cost by not looking up the value repeatedly.
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Diffstat (limited to 'pkg/servicereaper/service.go')
0 files changed, 0 insertions, 0 deletions