mirror of https://github.com/hashicorp/consul
Fix strings.Replace->strings.ReplaceAll
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