mirror of https://github.com/status-im/consul.git
Fix strings.Replace->strings.ReplaceAll
This commit is contained in:
parent
f785c5b332
commit
616cec4b45
|
@ -36,5 +36,5 @@ func GetHumanVersion() string {
|
|||
}
|
||||
|
||||
// Strip off any single quotes added by the git information.
|
||||
return strings.Replace(version, "'", "", -1)
|
||||
return strings.ReplaceAll(version, "'", "")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue