mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-20 21:54:30 +00:00
metrics: replace strings.Replace with string.ReplaceAll (#24835)
This commit is contained in:
parent
2e5b342826
commit
d77c1e5ea3
1 changed files with 1 additions and 1 deletions
|
|
@ -116,5 +116,5 @@ func (c *collector) writeSummaryPercentile(name, p string, value interface{}) {
|
|||
}
|
||||
|
||||
func mutateKey(key string) string {
|
||||
return strings.Replace(key, "/", "_", -1)
|
||||
return strings.ReplaceAll(key, "/", "_")
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue