Skip to content

Commit 5347dd7

Browse files
committed
Change argument to string
1 parent 7b2ee35 commit 5347dd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dd-java-agent/instrumentation/apache-httpcore-5/src/main/java/datadog/trace/instrumentation/apachehttpcore5/IastHttpHostInstrumentation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public static class CtorAdvice {
3737
@Advice.OnMethodExit(suppress = Throwable.class)
3838
@Propagation
3939
public static void afterCtor(
40-
@Advice.This final Object self, @Advice.Argument(2) final Object host) {
40+
@Advice.This final Object self, @Advice.Argument(2) final String host) {
4141
final PropagationModule module = InstrumentationBridge.PROPAGATION;
4242
if (module != null) {
4343
module.taintObjectIfTainted(self, host);

0 commit comments

Comments
 (0)