diff --git a/version/version.go b/version/version.go index 97c1dfd73a..d7edef8895 100644 --- a/version/version.go +++ b/version/version.go @@ -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, "'", "") }