0e474e38f1
This makes the test slightly closer to the actual code in the daemon producing the progress response; https://github.com/moby/moby/blob/cd844fd0b2047eff6854600d375545b3ec01de48/daemon/images/image_pull.go#L58-L70 https://github.com/moby/moby/blob/cd844fd0b2047eff6854600d375545b3ec01de48/daemon/internal/distribution/utils/progress.go#L14-L34 This is a modified version of69854c4e08with some changes specific to the 28.x branch (the variant on master had some patches for the moby/api and moby/client transition). Signed-off-by: Sebastiaan van Stijn <github@gone.nl> (cherry picked from commit69854c4e08) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>