Skip to content

Commit 7afe14a

Browse files
committed
no need to rewind
1 parent 47171fe commit 7afe14a

File tree

1 file changed

+0
-1
lines changed
  • dd-java-agent/instrumentation/aws-java-sns-1.0/src/main/java/datadog/trace/instrumentation/aws/v1/sns

1 file changed

+0
-1
lines changed

dd-java-agent/instrumentation/aws-java-sns-1.0/src/main/java/datadog/trace/instrumentation/aws/v1/sns/SnsInterceptor.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ public AmazonWebServiceRequest beforeMarshalling(AmazonWebServiceRequest request
6666
for (PublishBatchRequestEntry entry : pmbRequest.getPublishBatchRequestEntries()) {
6767
Map<String, MessageAttributeValue> messageAttributes = entry.getMessageAttributes();
6868
if (messageAttributes.size() < 10) {
69-
binaryValue.rewind();
7069
messageAttributes.put(
7170
"_datadog",
7271
new MessageAttributeValue().withDataType("Binary").withBinaryValue(binaryValue));

0 commit comments

Comments
 (0)