Fixed notin operator in labels' selectors comments.

pull/6/head
Maciej Szulik 2015-07-03 17:33:46 +02:00
parent 974377b306
commit a11911d20d
1 changed files with 3 additions and 3 deletions

View File

@ -618,7 +618,7 @@ func (p *Parser) parseExactValue() (util.StringSet, error) {
// <requirement> ::= KEY [ <set-based-restriction> | <exact-match-restriction> // <requirement> ::= KEY [ <set-based-restriction> | <exact-match-restriction>
// <set-based-restriction> ::= "" | <inclusion-exclusion> <value-set> // <set-based-restriction> ::= "" | <inclusion-exclusion> <value-set>
// <inclusion-exclusion> ::= <inclusion> | <exclusion> // <inclusion-exclusion> ::= <inclusion> | <exclusion>
// <exclusion> ::= "not" <inclusion> // <exclusion> ::= "notin"
// <inclusion> ::= "in" // <inclusion> ::= "in"
// <value-set> ::= "(" <values> ")" // <value-set> ::= "(" <values> ")"
// <values> ::= VALUE | VALUE "," <values> // <values> ::= VALUE | VALUE "," <values>
@ -627,12 +627,12 @@ func (p *Parser) parseExactValue() (util.StringSet, error) {
// VALUE is a sequence of zero or more characters "([A-Za-z0-9_-\.])". Max length is 64 character. // VALUE is a sequence of zero or more characters "([A-Za-z0-9_-\.])". Max length is 64 character.
// Delimiter is white space: (' ', '\t') // Delimiter is white space: (' ', '\t')
// Example of valid syntax: // Example of valid syntax:
// "x in (foo,,baz),y,z not in ()" // "x in (foo,,baz),y,z notin ()"
// //
// Note: // Note:
// (1) Inclusion - " in " - denotes that the KEY is equal to any of the // (1) Inclusion - " in " - denotes that the KEY is equal to any of the
// VALUEs in its requirement // VALUEs in its requirement
// (2) Exclusion - " not in " - denotes that the KEY is not equal to any // (2) Exclusion - " notin " - denotes that the KEY is not equal to any
// of the VALUEs in its requirement // of the VALUEs in its requirement
// (3) The empty string is a valid VALUE // (3) The empty string is a valid VALUE
// (4) A requirement with just a KEY - as in "y" above - denotes that // (4) A requirement with just a KEY - as in "y" above - denotes that