8000 GitHub · Where software is built
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[1.12-rc3] no user feedback when update doesn't trigger rolling update #24470
Open
@stevvooe

Description

@stevvooe

Right now, if an innocuous update that result in no change is encountered, the user receives no feedback that the change will not trigger the update. A common case would be encountered when updating an image:

$ docker service create --name foo redis
$ docker service update --image redis

In this case, even though the update is issued, no new tasks will be dispatched since the image name did not actually change. We can mitigate this by looking up the image hash client-side, but there are other parameters that may not result in an update.

The output should make it clear whether or not there will be updates based on the changes:

$ docker service update --image redis
No changes to service detected

@thaJeztah @tiborvass

Related to #24066 and #24469.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/enhancementEnhancements are not bugs or new features but can improve usability or performance.priority/P3Best effort: those are nice to have / minor issues.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0