From 4434f3386a4c55f77457c2299505cea53839909b Mon Sep 17 00:00:00 2001 From: Konstantin Albutov Date: Sun, 25 Apr 2021 20:22:55 +0300 Subject: [PATCH] Fix strings.Replace->strings.ReplaceAll --- version/version.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, "'", "") }