Skip to content
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.

Commit

Permalink
remove unnecessary if check
Browse files Browse the repository at this point in the history
  • Loading branch information
fatihaydilek committed Mar 6, 2020
1 parent 3992a2b commit 84c72c3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/plugins/integrations/AWSIntegration.ts
Expand Up @@ -336,9 +336,7 @@ class AWSIntegration implements Integration {
}
} else if (serviceName === 'events') {
const eventIds = get(response, 'data.Entries', []).map((e: any) => e.EventId);
if (eventIds) {
traceLinks = eventIds;
}
traceLinks = eventIds;
}
if (traceLinks.length > 0) {
span.setTag(SpanTags.TRACE_LINKS, traceLinks);
Expand Down

0 comments on commit 84c72c3

Please sign in to comment.