Skip to content

Conversation

shin-
Copy link
Contributor

@shin- shin- commented Feb 9, 2016

Fixes #927

@shin- shin- self-assigned this Feb 9, 2016
@shin- shin- added this to the 1.7.1 milestone Feb 9, 2016


def parse_auth(entries):
def parse_auth(entries, fail=False):
Copy link
Contributor

Choose a reason for hiding this comment

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

Minor: I think the kwarg could be slightly more verbose, maybe warn_on_error=True or raise_on_error=False ?

Copy link
Contributor

Choose a reason for hiding this comment

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

Or considering this is only required for parsing the legacy config, maybe include_legacy=True ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fair point.

@dnephin
Copy link
Contributor

dnephin commented Feb 9, 2016

LGTM

Signed-off-by: Joffrey F <joffrey@docker.com>
@shin- shin- force-pushed the 927-config-parsing branch from b19d9ed to dc198be Compare February 9, 2016 20:08
shin- added a commit that referenced this pull request Feb 9, 2016
Don't break when parsing unknown config keys
@shin- shin- merged commit f368f07 into master Feb 9, 2016
@shin- shin- deleted the 927-config-parsing branch March 23, 2016 20:49
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.

3 participants