Skip to content

Commit

Permalink
Update aggregate.go - fix typo
Browse files Browse the repository at this point in the history
Fix aggragate -> aggregate
  • Loading branch information
jond01 authored Jun 5, 2024
1 parent d5fd8d3 commit af8802f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/aggregate/aggregate.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func SchemaFieldFromString(aggregates []string, col string) ([]config.SchemaFiel
} else {
field, ok := aggrToSchemaField[trimmed]
if !ok {
return nil, fmt.Errorf("invalid aggragator type '%s'", trimmed)
return nil, fmt.Errorf("invalid aggregator type '%s'", trimmed)
}
fieldList = append(fieldList, getAggrFullName(field, col))
}
Expand Down Expand Up @@ -179,7 +179,7 @@ func FromString(aggrString string) (AggrType, error) {
}
aggr, ok := aggrTypeString[trimmed]
if !ok {
return 0, fmt.Errorf("invalid aggragate type: %v", trimmed)
return 0, fmt.Errorf("invalid aggregate type: %v", trimmed)
}
return aggr, nil
}
Expand Down

0 comments on commit af8802f

Please sign in to comment.