Files
moby/daemon/libnetwork
Sebastiaan van Stijn 80452e5d4a daemon/libnetwork/types: PortBinding.Equal: use non-pointer receiver
Change `PortBinding.Equal` to use a value receiver and parameter, this
allows us to use it directly with `slices.IndexFunc`, `DeleteFunc`,
without having to add a wrapper func.

The only exception currently is the `UnmapPorts` function (stub), which
takes portmapperapi.PortBinding as argument; the portmapperapi.PortBinding
type embeds `types.PortBinding`, and it's the only field that's compared
as part of `UnmapPorts`

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-08-12 11:38:09 +02:00
..
2025-08-05 20:49:57 +02:00
2025-08-01 00:49:22 +02:00
2025-07-14 09:25:23 -07:00
2025-08-01 00:49:22 +02:00
2025-07-31 10:13:29 -07:00
2025-08-01 00:49:22 +02:00
2025-08-01 00:49:22 +02:00
2025-08-01 00:49:22 +02:00
2025-07-14 09:25:23 -07:00
2025-08-01 00:49:22 +02:00
2025-07-31 10:13:29 -07:00