Skip to content

Commit

Permalink
chore: typo (#1046)
Browse files Browse the repository at this point in the history
  • Loading branch information
kongfei605 authored Sep 4, 2024
1 parent 6d99afe commit 7fa270a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inputs/prometheus/consul.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func (ins *Instance) InitConsulClient(ctx context.Context) error {
for tagName, tagTemplateString := range ins.ConsulConfig.Queries[i].ServiceExtraTags {
tagTemplate, err := template.New(tagName).Funcs(templateFunctions).Parse(tagTemplateString)
if err != nil {
log.Println("failed to parse the Consul query Extra Tag template (%s): %s", tagTemplateString, err)
log.Printf("failed to parse the Consul query Extra Tag template (%s): %s", tagTemplateString, err)
continue
}
q.serviceExtraTagsTemplate[tagName] = tagTemplate
Expand Down

0 comments on commit 7fa270a

Please sign in to comment.