Skip to content

Commit

Permalink
Fix missing class errors (open-telemetry#5795)
Browse files Browse the repository at this point in the history
Co-authored-by: Lauri Tulmin <[email protected]>
  • Loading branch information
2 people authored and RashmiRam committed May 23, 2022
1 parent 75f155f commit 3141ac3
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,14 @@
*/
public final class AgentTooling {

private static final AgentLocationStrategy LOCATION_STRATEGY =
locationStrategy(getBootstrapProxy());

private static final AgentBuilder.PoolStrategy POOL_STRATEGY =
new AgentCachingPoolStrategy(locationStrategy(getBootstrapProxy()));
new AgentCachingPoolStrategy(LOCATION_STRATEGY);

public static AgentLocationStrategy locationStrategy() {
return locationStrategy(null);
return LOCATION_STRATEGY;
}

public static AgentLocationStrategy locationStrategy(ClassLoader bootstrapProxy) {
Expand Down

0 comments on commit 3141ac3

Please sign in to comment.