Skip to content

Commit

Permalink
Merge branch 'logshints' of github.com:elastic/beats into logshints
Browse files Browse the repository at this point in the history
  • Loading branch information
gizas committed Apr 24, 2024
2 parents 92c266b + bf441cf commit 05d71ef
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion libbeat/autodiscover/providers/kubernetes/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ func (n *node) GenerateHints(event bus.Event) bus.Event {
}

hints, incorrecthints := utils.GenerateHints(annotations, "", n.config.Prefix, true, AllSupportedHints)
//We check whether the provided annotation follows the supported format and vocabulary. The check happens for annotations that have prefix co.elastic
// We check whether the provided annotation follows the supported format and vocabulary. The check happens for annotations that have prefix co.elastic
for _, value := range incorrecthints {
n.logger.Debugf("provided hint: %s/%s is not in the supported list", n.config.Prefix, value)
}
Expand Down
2 changes: 1 addition & 1 deletion libbeat/autodiscover/providers/kubernetes/pod.go
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ func (p *pod) GenerateHints(event bus.Event) bus.Event {

// Generate hints based on the cumulative of both namespace and pod annotations.
hints, incorrecthints := utils.GenerateHints(annotations, cname, p.config.Prefix, true, AllSupportedHints)
//We check whether the provided annotation follows the supported format and vocabulary. The check happens for annotations that have prefix co.elastic
// We check whether the provided annotation follows the supported format and vocabulary. The check happens for annotations that have prefix co.elastic
for _, value := range incorrecthints {
p.logger.Debugf("provided hint: %s/%s is not in the supported list", p.config.Prefix, value)
}
Expand Down
2 changes: 1 addition & 1 deletion libbeat/autodiscover/providers/kubernetes/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ func (s *service) GenerateHints(event bus.Event) bus.Event {
}

hints, incorrecthints := utils.GenerateHints(annotations, "", s.config.Prefix, true, AllSupportedHints)
//We check whether the provided annotation follows the supported format and vocabulary. The check happens for annotations that have prefix co.elastic
// We check whether the provided annotation follows the supported format and vocabulary. The check happens for annotations that have prefix co.elastic
for _, value := range incorrecthints {
s.logger.Debugf("provided hint: %s/%s is not in the supported list", s.config.Prefix, value)
}
Expand Down

0 comments on commit 05d71ef

Please sign in to comment.