Fix strings.Replace->strings.ReplaceAll

This commit is contained in:
Konstantin Albutov 2021-04-25 20:22:55 +03:00 committed by Mark Anderson
parent 0c13f80d5a
commit 4434f3386a
1 changed files with 1 additions and 1 deletions

View File

@ -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, "'", "")
}