Skip to content

Commit dbfb573

Browse files
committed
Code style fix
Signed-off-by: aagarwalla-fx <[email protected]>
1 parent a53bd93 commit dbfb573

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: cmd/postgres_exporter/pg_setting.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ type pgSetting struct {
6767
func (s *pgSetting) metric(labels prometheus.Labels) prometheus.Metric {
6868
var (
6969
err error
70-
name = strings.Replace(strings.Replace(s.name, ".", "_", -1), "-", "_", -1)
70+
name = strings.Replace(strings.Replace(s.name, ".", "_", -1), "-", "_", -1)
7171
unit = s.unit // nolint: ineffassign
7272
shortDesc = fmt.Sprintf("Server Parameter: %s", s.name)
7373
subsystem = "settings"

0 commit comments

Comments
 (0)