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

Add fallback username for Docker run environment #22

Merged
merged 2 commits into from
Jun 12, 2019

Conversation

raido
Copy link
Contributor

@raido raido commented Jan 26, 2019

Idea is to first get the userId and then try to get username for that specific id. If that fails we fallback to our own generated username.

Closes: #21

@raido raido changed the title Fallback username for Docker run environment wiht missing username Fallback username for Docker run environment with missing username Jan 26, 2019
@sindresorhus
Copy link
Owner

I forgot about this... Would you be able to fix the merge conflict?

@raido raido force-pushed the fix-docker-username branch 2 times, most recently from 7418088 to 2fe841a Compare June 4, 2019 17:43
@raido
Copy link
Contributor Author

raido commented Jun 4, 2019

@sindresorhus Rebased on master.

@sindresorhus sindresorhus changed the title Fallback username for Docker run environment with missing username Add fallback username for Docker run environment Jun 12, 2019
@sindresorhus sindresorhus merged commit c1e3590 into sindresorhus:master Jun 12, 2019
@raido raido deleted the fix-docker-username branch June 12, 2019 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make it return something in Docker
2 participants