diff options
author | Paul Holzinger <pholzing@redhat.com> | 2022-04-28 13:56:45 +0200 |
---|---|---|
committer | Paul Holzinger <pholzing@redhat.com> | 2022-04-29 14:06:54 +0200 |
commit | e6557bf0a291f4462081e50461b1b9b8715d1da3 (patch) | |
tree | ef2c4160a81d264ca0d1255715f9c668c853c581 /libpod | |
parent | a48c37df3765f42c779ac0674eb021f955ed9c07 (diff) | |
download | podman-e6557bf0a291f4462081e50461b1b9b8715d1da3.tar.gz podman-e6557bf0a291f4462081e50461b1b9b8715d1da3.tar.bz2 podman-e6557bf0a291f4462081e50461b1b9b8715d1da3.zip |
pkg/api: do not register decoder in endpoint handler
Since the decoder is shared registering the decoder inside a single
endpoint will also register it for all others. Also the problem with
that is the it will register it everytime this endpoint is called which
is wrong.
Instead we should register it once like the other custom decoder
functions.
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Diffstat (limited to 'libpod')
0 files changed, 0 insertions, 0 deletions