forked from cerc-io/plugeth
all: replace strings.Replace with string.ReplaceAll (#24835)
This commit is contained in:
@@ -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, "/", "_")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user