Merge pull request #10315 from hashicorp/ma/haxandmat-replace

Fix strings.Replace->strings.ReplaceAll
This commit is contained in:
Daniel Nephin 2021-06-01 15:05:47 -04:00 committed by GitHub
commit 7d324b4795
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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.
return strings.Replace(version, "'", "", -1)
return strings.ReplaceAll(version, "'", "")
}