From 5e128072c1b402e520fa21255b2ab74d1070d82f Mon Sep 17 00:00:00 2001 From: Andrew O'Neill Date: Fri, 30 Dec 2016 17:26:03 -0800 Subject: [PATCH] pkg/labels: fix the godoc for Parse() previously the formatting was broken for labels.Parse() function. I fixed the spacing so it will format correctly for the generated go docs. There was also a dangling "]" at the end of the first line so i deleted it. --- pkg/labels/selector.go | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/pkg/labels/selector.go b/pkg/labels/selector.go index 705f42477ef..043101503f2 100644 --- a/pkg/labels/selector.go +++ b/pkg/labels/selector.go @@ -728,15 +728,16 @@ func (p *Parser) parseExactValue() (sets.String, error) { // as they parse different selectors with different syntaxes. // The input will cause an error if it does not follow this form: // -// ::= | "," ] -// ::= [!] KEY [ | ] -// ::= "" | -// ::= | -// ::= "notin" -// ::= "in" -// ::= "(" ")" -// ::= VALUE | VALUE "," -// ::= ["="|"=="|"!="] VALUE +// ::= | "," +// ::= [!] KEY [ | ] +// ::= "" | +// ::= | +// ::= "notin" +// ::= "in" +// ::= "(" ")" +// ::= VALUE | VALUE "," +// ::= ["="|"=="|"!="] VALUE +// // KEY is a sequence of one or more characters following [ DNS_SUBDOMAIN "/" ] DNS_LABEL. Max length is 63 characters. // VALUE is a sequence of zero or more characters "([A-Za-z0-9_-\.])". Max length is 63 characters. // Delimiter is white space: (' ', '\t')