From 616cec4b4544a76b848fa1b0bf9863418e6ce01d 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 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, "'", "") }