X Tutup
Skip to content

Add support for --type=secret in docker inspect#32124

Merged
vdemeester merged 1 commit intomoby:masterfrom
vdemeester:system-inspect-secret
Mar 30, 2017
Merged

Add support for --type=secret in docker inspect#32124
vdemeester merged 1 commit intomoby:masterfrom
vdemeester:system-inspect-secret

Conversation

@vdemeester
Copy link
Member

@vdemeester vdemeester commented Mar 27, 2017

Taking into account @allencloud, add support for docker inspect --type=secret because, why not 👼.

/cc @icecrime :trollface: @thaJeztah @cpuguy83 @AkihiroSuda @dnephin @tiborvass @vieux

🦁

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

@thaJeztah
Copy link
Member

design LGTM

Copy link
Member

Choose a reason for hiding this comment

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

isSwarmObject: true,

Copy link
Member Author

Choose a reason for hiding this comment

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

@thaJeztah nice I missed that one 👼

@vdemeester vdemeester force-pushed the system-inspect-secret branch from eee4188 to 533511f Compare March 27, 2017 08:37
@allencloud
Copy link
Contributor

That is great. Thanks a lot. @vdemeester
Eh... Please do not forget to update inspect.md under command docs directory. 😄

@vdemeester
Copy link
Member Author

Eh... Please do not forget to update inspect.md under command docs directory. 😄

Right, I was waiting for it to pass design phase but.. it's already the case 😛

@ehazlett
Copy link
Contributor

design lgtm

@thaJeztah
Copy link
Member

oh, when updating; perhaps you can also update the completion scripts 🤗

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
@vdemeester vdemeester force-pushed the system-inspect-secret branch from 533511f to 71129f6 Compare March 28, 2017 08:48
@vdemeester
Copy link
Member Author

@thaJeztah completions scripts updated (cc @sdurrheimer @albers)

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.

code LGTM, but needs updates to the documentation as mentioned above 😄

@thaJeztah
Copy link
Member

docs is being taken care of in #32112

@albers
Copy link
Member

albers commented Mar 28, 2017

Bash completion tested locally, perfect!

@ehazlett
Copy link
Contributor

LGTM

@thaJeztah
Copy link
Member

pssst @ehazlett; looks like it can be moved to status/4-merge 😇

@vdemeester vdemeester merged commit ee61f28 into moby:master Mar 30, 2017
@GordonTheTurtle GordonTheTurtle added this to the 17.05.0 milestone Mar 30, 2017
@vdemeester vdemeester deleted the system-inspect-secret branch March 30, 2017 15:02
__docker_complete_nodes && ret=0
elif [[ ${words[(r)--type=plugin]} == --type=plugin ]]; then
__docker_complete_plugins && ret=0
elif [[ ${words[(r)--type=service]} == --type=secrets ]]; then
Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry for looking at this too late, should be elif [[ ${words[(r)--type=secrets]} not elif [[ ${words[(r)--type=service]}

Copy link
Member Author

Choose a reason for hiding this comment

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

oh shit, my bad I missed one 😱 I'll fix 👼

Copy link
Member

Choose a reason for hiding this comment

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

Oh, thanks of the catch; can you open a pull request to fix that, or want someone else to do that?

dnephin pushed a commit to dnephin/docker that referenced this pull request Apr 17, 2017
Add support for `--type=secret` in `docker inspect`
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.

7 participants

X Tutup