Browse Source

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

Fix strings.Replace->strings.ReplaceAll
pull/10333/head
Daniel Nephin 4 years ago committed by GitHub
parent
commit
7d324b4795
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      version/version.go

2
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, "'", "")
}

Loading…
Cancel
Save