Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/postgres_exporter/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ func dbToString(t interface{}) (string, bool) {
// Try and convert to string
return string(v), true
case string:
return v, true
return strings.ToValidUTF8(v, "�"), true
case bool:
if v {
return "true", true
Expand Down