Skip to content

Commit

Permalink
[chore][exporter/elasticsearchexporter] Fix logging typo (open-teleme…
Browse files Browse the repository at this point in the history
…try#30794)

**Description:** <Describe what has changed.>
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
Correct a typo in a log message.
  • Loading branch information
crobert-1 authored Jan 29, 2024
1 parent 0db5457 commit 62e2b0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exporter/elasticsearchexporter/elasticsearch_bulk.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ func pushDocuments(ctx context.Context, logger *zap.Logger, index string, docume
zap.NamedError("reason", err))

default:
logger.Error(fmt.Sprintf("Drop dcos: failed to index: %#v", resp.Error),
logger.Error(fmt.Sprintf("Drop docs: failed to index: %#v", resp.Error),
zap.Int("attempt", attempts),
zap.Int("status", resp.Status))
}
Expand Down

0 comments on commit 62e2b0f

Please sign in to comment.