Files
docker-cli/cli/command
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-05-11 13:42:49 -07:00
2017-05-08 10:51:30 -07:00
2017-05-02 17:57:46 -04:00
2017-05-03 18:41:19 -07:00
2017-05-03 18:41:19 -07:00
2017-05-03 18:41:19 -07:00
2017-04-17 17:40:59 -04:00
2017-05-08 15:57:50 -04:00