Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always set (empty) UpdateStatus #2820

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jan 4, 2021

  1. Always set (empty) UpdateStatus

    When deploying a service the `UpdateStatus.State` field is not present
    during `docker service create`. This complicates creating scripts that
    check for `UpdateStatus.State` to reach a certain state, as they have to take
    into account that the `UpdateStatus` as a whole is missing.
    
    This patch always sets the `UpdateStatus.State` to make it easier to consume.
    
    Signed-off-by: Sebastiaan van Stijn <[email protected]>
    thaJeztah committed Jan 4, 2021
    Configuration menu
    Copy the full SHA
    96f1b6e View commit details
    Browse the repository at this point in the history