Files
docker-cli/cli
Sebastiaan van Stijn d0bea64185 Preserve resolved image-digest if QueryRegistry == false
When re-deploying a stack without re-resolving the image digest,
the service's ContainerSpec was updated with the image-reference
as specified in the stack/compose file.

As a result, the image-digest that was resolved in a previous
deploy was overwritten, causing the service to be re-deployed.

This patch preserves the previously resolve image-digest
by copying it from the current service spec.

A unit test is also added to verify that the image information
in the service spec is not updated if QueryRegistry is disabled.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2017-08-03 18:49:07 +02:00
..
2017-04-17 17:40:59 -04:00
2017-06-14 16:54:27 -07:00
2017-04-24 11:31:08 -07:00
2017-04-17 17:40:59 -04:00
2017-04-17 17:40:59 -04:00
2017-05-09 14:22:51 -07:00