Skip to content

Commit

Permalink
Small error handling improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
leartbeqiraj1 committed Nov 9, 2023
1 parent e4f354b commit f996e3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exporter/clickhouseexporter/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const defaultDatabase = "default"
var (
errConfigNoEndpoint = errors.New("endpoint must be specified")
errConfigInvalidEndpoint = errors.New("endpoint must be url format")
errConfigTTL = errors.New("Both TTLDays and TTL can not be provided. TTLDays is deprecated, use TTL instead.")
errConfigTTL = errors.New("Both 'ttl_days' and 'ttl' can not be provided. 'ttl_days' is deprecated, use 'ttl' instead.")
)

// Validate the clickhouse server configuration.
Expand Down

0 comments on commit f996e3e

Please sign in to comment.