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

Add status parameter to services list API #3093

Merged
merged 1 commit into from
Feb 16, 2023
Merged

Add status parameter to services list API #3093

merged 1 commit into from
Feb 16, 2023

Conversation

lorinbucher
Copy link
Contributor

Adds the optional status parameter to the services list API. If true, the services returned will include ServiceStatus, which provides Desired, Running, and Completed task counts for the service.

This has been added in 20.10.0, with API version 1.41. (Release Notes)
See moby PR: moby/moby#39231

Signed-off-by: Lorin Bucher <lorin@lbtec.dev>
Copy link
Contributor

@milas milas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR!

@milas milas merged commit 7cd7458 into docker:main Feb 16, 2023
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