mirror of
https://github.com/status-im/consul.git
synced 2025-02-25 11:55:41 +00:00
Merge pull request #10315 from hashicorp/ma/haxandmat-replace
Fix strings.Replace->strings.ReplaceAll
This commit is contained in:
commit
7d324b4795
@ -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…
x
Reference in New Issue
Block a user