Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
daemon/RegistryHosts: Don't lose mirrors
`docker.io` is present in the `IndexConfigs` so the `Mirrors` property would get lost because a fresh `RegistryConfig` object was created. Instead of creating a new object, reuse the existing one and just mutate its fields. Signed-off-by: Paweł Gronowski <[email protected]>
- Loading branch information