Skip to content

Commit 16286c0

Browse files
authored
handle space character
1 parent ef8f016 commit 16286c0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

munin.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ func kk(k string) string {
1111
return k
1212
}
1313
k = strings.Replace(k, ".", "_", -1)
14+
k = strings.Replace(k, " ", "_", -1)
1415
if !unicode.IsLetter(rune(k[0])) {
1516
return "_" + k
1617
}

0 commit comments

Comments
 (0)