spiegel_podman/pkg/api/handlers/compat
Paul Holzinger 4b4b423b6c
compat API: network create return 409 for duplicate
If the name already exists and CheckDuplicate is set we need to return
409, if CheckDuplicate is not set we return the network without error.

Fixes #17585

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2023-02-21 16:55:27 +01:00
..
auth.go Use request Context() in API handlers 2022-08-18 23:48:43 +03:00
changes.go pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
containers.go DB: make loading container states optional 2023-01-26 10:20:38 +01:00
containers_archive.go Fix typos. Improve language. 2023-02-09 21:56:27 +01:00
containers_attach.go Fix stutters 2022-09-10 07:52:00 -04:00
containers_create.go Allow --device-cgroup-rule to be passed in by docker API 2023-01-13 17:02:45 -05:00
containers_export.go export: use io.Writer instead of file 2022-12-20 14:38:41 +01:00
containers_logs.go pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
containers_pause.go bump go module to version 4 2022-01-18 12:47:07 +01:00
containers_prune.go pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
containers_restart.go libpod: switch to golang native error wrapping 2022-07-05 16:06:32 +02:00
containers_start.go bump go module to version 4 2022-01-18 12:47:07 +01:00
containers_stats.go Add and use Container.LinuxResource() helper 2022-10-12 13:45:49 +02:00
containers_stop.go Podman stop --filter flag 2022-07-14 13:18:53 -04:00
containers_top.go pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
containers_unpause.go bump go module to version 4 2022-01-18 12:47:07 +01:00
events.go Compat API image remove events now have 'delete' status 2022-08-25 16:59:26 -04:00
exec.go Fix stutters 2022-09-10 07:52:00 -04:00
images.go Add missing return after errors 2023-02-06 20:32:06 +01:00
images_build.go Add missing return after errors 2023-02-06 20:32:06 +01:00
images_history.go Fix stutters 2022-09-10 07:52:00 -04:00
images_prune.go pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
images_push.go Replace deprecated ioutil 2022-09-20 15:34:27 -04:00
images_remove.go Fix stutters 2022-09-10 07:52:00 -04:00
images_save.go golangci-lint: enable nolintlint 2022-06-14 16:29:42 +02:00
images_search.go Set TLSVerify=true by default for API endpoints 2022-07-26 02:07:56 +03:00
images_tag.go Fix stutters 2022-09-10 07:52:00 -04:00
info.go refactor: use os.ReadDir for lightweight directory reading 2022-09-11 15:58:31 +08:00
networks.go compat API: network create return 409 for duplicate 2023-02-21 16:55:27 +01:00
ping.go Refacter API server emphasis on logging 2021-09-10 15:07:25 -07:00
resize.go use c/common code for resize and CopyDetachable 2022-07-06 16:57:07 +02:00
secrets.go Add labels to secrets 2022-09-20 16:28:00 -04:00
system.go Vendor c/image after https://github.com/containers/image/pull/1816 2023-02-08 22:37:38 +01:00
types.go V2 verify JSON output is consistent and doesn't drift 2020-05-28 16:20:29 -07:00
unsupported.go bump go module to version 4 2022-01-18 12:47:07 +01:00
version.go pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
volumes.go Fix typos. Improve language. 2023-02-09 21:56:27 +01:00