mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-02-21 12:16:36 +00:00
chore(deps): update golangci/golangci-lint-action action to v7 (#1976)
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jan-Otto Kröpke <mail@jkroepke.de>
This commit is contained in:
@@ -81,8 +81,8 @@ func New(config *Config) (*slog.Logger, error) {
|
||||
return nil, errors.New("log file undefined")
|
||||
}
|
||||
|
||||
config.Config.Writer = config.File.w
|
||||
config.Config.Style = promslog.SlogStyle
|
||||
config.Writer = config.File.w
|
||||
config.Style = promslog.SlogStyle
|
||||
|
||||
return promslog.New(config.Config), nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user