spiegel_podman/pkg/api/handlers
Paul Holzinger e6557bf0a2
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>
2022-04-29 14:06:54 +02:00
..
compat enable gocritic linter 2022-04-26 18:12:22 +02:00
libpod pkg/api: do not register decoder in endpoint handler 2022-04-29 14:06:54 +02:00
swagger bump go module to version 4 2022-01-18 12:47:07 +01:00
types bump go module to version 4 2022-01-18 12:47:07 +01:00
utils enable gocritic linter 2022-04-26 18:12:22 +02:00
decoder.go pkg/api: do not register decoder in endpoint handler 2022-04-29 14:06:54 +02:00
types.go bump go module to version 4 2022-01-18 12:47:07 +01:00