mirror of https://github.com/status-im/consul.git
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…
Reference in New Issue