bollard
bollard copied to clipboard
Add 'status' field to ListServicesOptions for enhanced service status retrieval
Hi, I have added a status
field to the ListServicesOptions, which can trigger the return of ServiceStatus
.
For example, for my Replicated Service, I can get:
"ServiceStatus": {
"RunningTasks": 3,
"DesiredTasks": 3,
"CompletedTasks": 0
}
Thanks, swagger reference https://github.com/moby/moby/blob/24.0/api/swagger.yaml#L11018-L11022