Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Change interactive add cred to use interact toolkit #6645
Conversation
| -func (c *addCredentialCommand) readHiddenField(in io.Reader) (string, error) { | ||
| - if f, ok := in.(*os.File); ok && terminal.IsTerminal(int(f.Fd())) { | ||
| - value, err := terminal.ReadPassword(int(f.Fd())) | ||
| +func enterFile(name string, p *interact.Pollster) (string, error) { |
reedobrien
Dec 14, 2016
Contributor
Seems like prompting for a file might be a common enough case to add to pollster. Maybe.
|
!!build!! |
|
!!build!! |
natefinch
changed the title from
WIP: Change interactive add cred to use interact toolkit
to
Change interactive add cred to use interact toolkit
Dec 14, 2016
|
!!build!! |
|
imma try to land this as-is |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
jujubot
merged commit 2a5bb21
into
juju:develop
Dec 15, 2016
1 check failed
github-check-merge-juju
Built PR, ran unit tests, and tested LXD deploy. Use !!.*!! to request another build. IE, !!build!!, !!retry!!
Details
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
natefinch commentedDec 1, 2016
No description provided.