diff --git a/version/version.go b/version/version.go index 97c1dfd73..d7edef889 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, "'", "") }