mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-31 15:06:26 +00:00
wip
This commit is contained in:
parent
a4abd688ee
commit
f8dcf7be1d
2 changed files with 0 additions and 6 deletions
|
@ -54,9 +54,6 @@ func parsePipeFields(lex *lexer) (*pipeFields, error) {
|
|||
if !lex.mustNextToken() {
|
||||
return nil, fmt.Errorf("missing field name")
|
||||
}
|
||||
if lex.isKeyword(",") {
|
||||
return nil, fmt.Errorf("unexpected ','; expecting field name")
|
||||
}
|
||||
field, err := parseFieldName(lex)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("cannot parse field name: %w", err)
|
||||
|
|
|
@ -550,9 +550,6 @@ func parseByFields(lex *lexer) ([]*byField, error) {
|
|||
lex.nextToken()
|
||||
return bfs, nil
|
||||
}
|
||||
if lex.isKeyword(",") {
|
||||
return nil, fmt.Errorf("unexpected `,`")
|
||||
}
|
||||
fieldName, err := parseFieldName(lex)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("cannot parse field name: %w", err)
|
||||
|
|
Loading…
Reference in a new issue