Skip to content

Add missing states in ServiceUpdateState#2292

Merged
eddumelendez merged 2 commits intodocker-java:mainfrom
nowheresly:missingStates
Feb 2, 2024
Merged

Add missing states in ServiceUpdateState#2292
eddumelendez merged 2 commits intodocker-java:mainfrom
nowheresly:missingStates

Conversation

@nowheresly
Copy link
Copy Markdown
Contributor

See the full list of states here:

https://github.com/moby/swarmkit/blob/7eb504690c36ab1d9b299e7e01893fbc830729b1/api/types.proto#L458


	enum UpdateState {
		UNKNOWN = 0;
		UPDATING = 1;
		PAUSED = 2;
		COMPLETED = 3;
		ROLLBACK_STARTED = 4;
		ROLLBACK_PAUSED = 5; // if a rollback fails
		ROLLBACK_COMPLETED = 6;
	}

@nowheresly nowheresly requested a review from a team as a code owner January 8, 2024 22:14
@eddumelendez eddumelendez added this to the next milestone Jan 22, 2024
@eddumelendez eddumelendez merged commit 1bac81f into docker-java:main Feb 2, 2024
@eddumelendez
Copy link
Copy Markdown
Member

Thanks for your contribution, @nowheresly !

@nowheresly nowheresly deleted the missingStates branch February 2, 2024 05:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants