Skip to content

Commit

Permalink
chore: fix function names in comment (open-telemetry#33041)
Browse files Browse the repository at this point in the history
Signed-off-by: petercover <[email protected]>
  • Loading branch information
petercover committed May 14, 2024
1 parent f99addf commit f1bf85b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion exporter/sentryexporter/transport.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func (t *sentryTransport) Flush(ctx context.Context) bool {
return t.httpTransport.Flush(time.Second)
}

// sendTransactions uses a Sentry HTTPTransport to send transaction events to Sentry
// SendEvents uses a Sentry HTTPTransport to send transaction events to Sentry
func (t *sentryTransport) SendEvents(transactions []*sentry.Event) {
bufferCounter := 0
for _, transaction := range transactions {
Expand Down
2 changes: 1 addition & 1 deletion internal/aws/proxy/conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ type stsCalls struct {
getSTSCredsFromRegionEndpoint func(log *zap.Logger, sess *session.Session, region, roleArn string) *credentials.Credentials
}

// getSTSCreds gets STS credentials first from the regional endpoint, then from the primary
// getCreds gets STS credentials first from the regional endpoint, then from the primary
// region in the respective AWS partition if the regional endpoint is disabled.
func (s *stsCalls) getCreds(region string, roleArn string) (*credentials.Credentials, error) {
sess, err := session.NewSession()
Expand Down
2 changes: 1 addition & 1 deletion internal/coreinternal/textutils/encoding.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"golang.org/x/text/transform"
)

// NewBasicConfig creates a new Encoding config
// NewEncodingConfig creates a new Encoding config
func NewEncodingConfig() EncodingConfig {
return EncodingConfig{
Encoding: "utf-8",
Expand Down

0 comments on commit f1bf85b

Please sign in to comment.