Skip to content

Add status parameter to services list API#3093

Merged
milas merged 1 commit intodocker:mainfrom
lorinbucher:services-list-status
Feb 16, 2023
Merged

Add status parameter to services list API#3093
milas merged 1 commit intodocker:mainfrom
lorinbucher:services-list-status

Conversation

@lorinbucher
Copy link
Copy Markdown
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
Copy Markdown
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