mirror of
https://github.com/docker/docs.git
synced 2026-10-31 10:34:26 +03:00
Mutable objects are harder to debug and harder to reason about. ServiceLoader was almost immutable. There was just a single function which set fields for a second function. Instead of mutating the object, we can pass those values as parameters to the next function. Signed-off-by: Daniel Nephin <dnephin@docker.com>