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 f785c5b332
commit 616cec4b45
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. // Strip off any single quotes added by the git information.
return strings.Replace(version, "'", "", -1) return strings.ReplaceAll(version, "'", "")
} }