Skip to content

Allow unauthorized pullImageCmd#128

Merged
marcuslinke merged 1 commit intodocker-java:masterfrom
rtimush:unauthorized-pull
Jan 21, 2015
Merged

Allow unauthorized pullImageCmd#128
marcuslinke merged 1 commit intodocker-java:masterfrom
rtimush:unauthorized-pull

Conversation

@rtimush
Copy link
Copy Markdown
Contributor

@rtimush rtimush commented Jan 19, 2015

In some scenarios it may be desired to omit X-Registry-Auth from the image pull request. PullImageCmdExec handles null authConfig well, but currently it is impossible to create such cmd.

This pull request allows to have null in the default AuthConfig while still doing null checks in the withAuthConfig method if called explicitly.

marcuslinke added a commit that referenced this pull request Jan 21, 2015
Allow unauthorized pullImageCmd
@marcuslinke marcuslinke merged commit 7e50459 into docker-java:master Jan 21, 2015
@rtimush rtimush deleted the unauthorized-pull branch January 22, 2015 05:23
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.

2 participants