Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
smithclay committed Jun 24, 2024
1 parent 72c5ef7 commit edbfb19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion collector/components/servicenowexporter/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func (c *midClient) Close() {
func (c *midClient) sendEvents(events []ServiceNowEvent) error {
url := c.config.PushEventsURL

for e := range events {
for _, e := range events {
c.logger.Info("Sending event to ServiceNow", zap.String("url", url), zap.Any("event", e))
body, err := json.Marshal(e)
if err != nil {
Expand Down

0 comments on commit edbfb19

Please sign in to comment.