Skip to content

Commit

Permalink
address nits
Browse files Browse the repository at this point in the history
Signed-off-by: ChrsMark <[email protected]>
  • Loading branch information
ChrsMark committed Jan 7, 2025
1 parent ebffda3 commit cde7b73
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions receiver/receivercreator/discovery.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ func (builder *k8sHintsBuilder) createLogsReceiver(
builder.logger)

recTemplate, err := newReceiverTemplate(fmt.Sprintf("%v/%v_%v", subreceiverKey, pod.UID, containerName), userConfMap)
recTemplate.signals = receiverSignals{false, true, false}
recTemplate.signals = receiverSignals{metrics: false, logs: true, traces: false}

return &recTemplate, err
}
Expand Down Expand Up @@ -230,10 +230,10 @@ func createLogsConfig(
for k, v := range userConf {
if k == "include" {
// path cannot be other than the one of the target container
logger.Warn("include setting cannot be set through annotation's hints")
continue
} else {
defaultConfMap[k] = v
}
defaultConfMap[k] = v
}

return defaultConfMap
Expand Down

0 comments on commit cde7b73

Please sign in to comment.