Skip to content

Commit

Permalink
Fix typo (#1572)
Browse files Browse the repository at this point in the history
  • Loading branch information
carsonip authored Jan 30, 2024
1 parent c9570ef commit 538be9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions transport/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 538be9b

Please sign in to comment.