Fix strings.Replace->strings.ReplaceAll
This commit is contained in:
parent
0c13f80d5a
commit
4434f3386a
|
@ -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