Skip to content

Commit

Permalink
changelog and lint
Browse files Browse the repository at this point in the history
  • Loading branch information
thampiotr committed Nov 29, 2023
1 parent 2503033 commit 405d7af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ Main (unreleased)

- Fix issue with windows_exporter defaults not being set correctly. (@mattdurham)

- Fix issue where `convert` command would generate incorrect Flow Mode config
when provided `promtail` configuration that uses `docker_sd_configs` (@thampiotr)

v0.38.0 (2023-11-21)
--------------------

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ func (s *ScrapeConfigBuilder) AppendDockerPipeline() {
overrideHook,
))
}

}

func toLokiSourceDocker(sd *moby.DockerSDConfig, forwardTo []loki.LogsReceiver) *loki_docker.Arguments {
Expand Down Expand Up @@ -77,7 +76,6 @@ func toDiscoveryDocker(sdConfig *moby.DockerSDConfig) *docker.Arguments {
Filters: toFlowDockerSDFilters(sdConfig.Filters),
HTTPClientConfig: *common.ToHttpClientConfig(&sdConfig.HTTPClientConfig),
}

}

func toFlowDockerSDFilters(filters []moby.Filter) []docker.Filter {
Expand Down

0 comments on commit 405d7af

Please sign in to comment.