moby/cmd
Sebastiaan van Stijn c25773ecbf
cmd/dockerd: newRouterOptions: pass cluster as argument, and slight cleanup
- pass the cluster as an argument instead of manually setting it after
  creating the router-options
- remove the "opts" variable, to prevent it accidentally being used (with
  the assumption that's the value returned)
- use a struct-literal for the returned options.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-01-23 16:54:54 +01:00
..
docker-proxy cmd/docker-proxy: format code with gofumpt 2023-06-29 00:25:22 +02:00
dockerd cmd/dockerd: newRouterOptions: pass cluster as argument, and slight cleanup 2024-01-23 16:54:54 +01:00