Skip to content

Commit

Permalink
#59 fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
GreenRover committed Dec 13, 2023
1 parent 4a170bc commit af09baa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exporter/config.struct.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func ParseConfig(configFile string) (map[string][]DataSource, *Config, error) {

parts := strings.Split(key.String(), "|")
if len(parts) < 2 {
return nil, nil, fmt.Errorf("one or two | expected at endpoint %q. Found key %q value %q. Expecected: VPN wildcard | item wildcard | Optional metric filter for v2 apis", endpointName, key.Name(), key.String())
return nil, nil, fmt.Errorf("one or two | expected at endpoint %q. Found key %q value %q. Expected: VPN wildcard | item wildcard | Optional metric filter for v2 apis", endpointName, key.Name(), key.String())
} else {
var metricFilter []string
if len(parts) == 3 && len(strings.TrimSpace(parts[2])) > 0 {
Expand Down

0 comments on commit af09baa

Please sign in to comment.