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

Make multivalued requirement parser more whitespace tolerant #2559

Conversation

meirf
Copy link
Contributor

@meirf meirf commented Nov 24, 2014

This adds a few areas to the syntax where more whitespace is allowed:
a. before key - i.e. " x"
b. after key for in/not in cases - i.e. "x HERE in (foo)"
c. between "not" and "in" for not in case - i.e. "x not HERE in (foo)"
b. between "in" and value set for in/not in cases - i.e. "x in HERE (foo)" "x not in HERE (foo)"

There are still some areas left so this PR is a start:
a. in the values set - i.e. "x in ( a , b )"
b. after key for exists case - i.e. "x "
c. after end of values set - i.e. "x in (c) "

@kubernetes-bot
Copy link

Can one of the admins verify this patch?

@bgrant0607
Copy link
Member

Great, thanks. Sorry for the delay. LGTM.

bgrant0607 added a commit that referenced this pull request Dec 8, 2014
…tivalued-requirement-parser

Make multivalued requirement parser more whitespace tolerant
@bgrant0607 bgrant0607 merged commit 0c2be7e into kubernetes:master Dec 8, 2014
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.

3 participants