Skip to content

Commit 538be9b

Browse files
authored
Fix typo (#1572)
1 parent c9570ef commit 538be9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

transport/http.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ type HTTPTransportOptions struct {
8383
// for authenticating the agent.
8484
//
8585
// If unspecified, SecretToken will be initialized using the
86-
// ELASTIC_APM_SECRET_TOKEN envirohnment variable.
86+
// ELASTIC_APM_SECRET_TOKEN environment variable.
8787
SecretToken string
8888

8989
// ServerURLs holds the URLs for your Elastic APM Server. The Server
@@ -787,7 +787,7 @@ func parseCacheControl(s string) cacheControl {
787787
}
788788

789789
// parseMajorVersion returns the major version given a version string. Accepts
790-
// the string as long as it contans a `.` and the runes preceding `.` can be
790+
// the string as long as it contains a `.` and the runes preceding `.` can be
791791
// parsed to a number. If the operation succeeded, the second return value will
792792
// be true.
793793
func parseMajorVersion(v string) (uint32, bool) {

0 commit comments

Comments
 (0)