Skip to content

Commit

Permalink
final commit
Browse files Browse the repository at this point in the history
  • Loading branch information
dmachard committed Mar 29, 2024
1 parent 494244c commit 9afdf2f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkgutils/configchecker.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ func CheckConfig(userConfigPath string, dmRef dnsutils.DNSMessage) error {
defaultConfig.IngoingTransformers.Relabeling.Rename = append(defaultConfig.IngoingTransformers.Relabeling.Rename, pkgconfig.RelabelingConfig{})

// add fake value in relabel.Config because yaml tag is set to omitempty
// avoid this type of exception in future ....
defaultConfig.Loggers.LokiClient.RelabelConfigs = append(defaultConfig.Loggers.LokiClient.RelabelConfigs,
&relabel.Config{
TargetLabel: "target",
Expand Down

0 comments on commit 9afdf2f

Please sign in to comment.