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

Allow service and node filter to be name in tasks subcommands #24173

Merged
merged 1 commit into from
Jul 5, 2016

Conversation

vdemeester
Copy link
Member

@vdemeester vdemeester commented Jun 30, 2016

Allow service and node filter to be name on docker node tasks and docker service tasks commands 🐅.

This changes is mainly server-side (between engine api and swarmkit). There is just a check in api/client/service/tasks.go to handle the special self meaning.

This is an attempt to partly fix #24163 and #24165 (it just misses partial names, but this would require changes in swarmkit I think 🐳).

This is an alternative to a client-side only change (see master...vdemeester:tasks-filter-service-node-by-name).

/cc @aaronlehmann @cpuguy83 @stevvooe

🐸

Signed-off-by: Vincent Demeester vincent@sbr.pm

… on `docker node tasks` and `docker service tasks` commands.
This changes is mainly server-side (between engine api and
swarmkit). There is just a check in `api/client/service/tasks.go` to
handle the special *self* meaning.

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
@dnephin
Copy link
Member

dnephin commented Jun 30, 2016

LGTM

1 similar comment
@thaJeztah
Copy link
Member

LGTM

@thaJeztah
Copy link
Member

don't merge yet! we're having issues with CI not being triggered, so it didn't run on this PR

@LK4D4
Copy link
Contributor

LK4D4 commented Jul 5, 2016

I think whole CI was run.

@LK4D4 LK4D4 merged commit db75aa0 into moby:master Jul 5, 2016
@vdemeester vdemeester deleted the tasks-filter-service-node-by-name branch July 5, 2016 19:22
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.

docker node tasks --filter service does not match any service
6 participants