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

bash completion: add node type filter #1860

Merged
merged 1 commit into from
May 10, 2019

Conversation

trapier
Copy link
Contributor

@trapier trapier commented May 7, 2019

- What I did

Make docker events -f type=<tab><tab> in bash emit node as one of the completions.

- How I did it

Added node to the completion entry for type.

- How to verify it

Copy the modified completion file to /usr/share/bash-completion/completions/docker on a centos 7 manager node, then log out and log back in, then tested tab completion. Join a node to the swarm with the event filter running, and observe events.

- Description for the changelog
Add bash tab completion for node event type filter.

- A picture of a cute animal (not mandatory but encouraged)

суперчервячок

Signed-off-by: Trapier Marshall <trapier.marshall@docker.com>
@codecov-io
Copy link

Codecov Report

Merging #1860 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1860   +/-   ##
=======================================
  Coverage   56.77%   56.77%           
=======================================
  Files         309      309           
  Lines       21668    21668           
=======================================
  Hits        12301    12301           
  Misses       8468     8468           
  Partials      899      899

Copy link
Collaborator

@albers albers left a comment

Choose a reason for hiding this comment

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

LGTM, thanks a lot!

Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

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.

5 participants