Skip to content

Commit

Permalink
Code style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aagarwalla-fx committed Dec 16, 2024
1 parent 5f95bd3 commit 3fa1129
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/postgres_exporter/pg_setting.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ type pgSetting struct {
func (s *pgSetting) metric(labels prometheus.Labels) prometheus.Metric {
var (
err error
name = strings.Replace(strings.Replace(s.name, ".", "_", -1), "-", "_", -1)
name = strings.Replace(strings.Replace(s.name, ".", "_", -1), "-", "_", -1)
unit = s.unit // nolint: ineffassign
shortDesc = fmt.Sprintf("Server Parameter: %s", s.name)
subsystem = "settings"
Expand Down

0 comments on commit 3fa1129

Please sign in to comment.