From 538be9b793d63fa0705e6f8a5c6a22a4d2e3dc57 Mon Sep 17 00:00:00 2001 From: Carson Ip Date: Tue, 30 Jan 2024 23:02:33 +0800 Subject: [PATCH] Fix typo (#1572) --- transport/http.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/transport/http.go b/transport/http.go index e8876fdde..51b0110a9 100644 --- a/transport/http.go +++ b/transport/http.go @@ -83,7 +83,7 @@ type HTTPTransportOptions struct { // for authenticating the agent. // // If unspecified, SecretToken will be initialized using the - // ELASTIC_APM_SECRET_TOKEN envirohnment variable. + // ELASTIC_APM_SECRET_TOKEN environment variable. SecretToken string // ServerURLs holds the URLs for your Elastic APM Server. The Server @@ -787,7 +787,7 @@ func parseCacheControl(s string) cacheControl { } // parseMajorVersion returns the major version given a version string. Accepts -// the string as long as it contans a `.` and the runes preceding `.` can be +// the string as long as it contains a `.` and the runes preceding `.` can be // parsed to a number. If the operation succeeded, the second return value will // be true. func parseMajorVersion(v string) (uint32, bool) {