Skip to content

Commit f09a5a3

Browse files
committed
fix(comm): Simplify url resolution
1 parent c2e63af commit f09a5a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

communication/src/main/java/datadog/communication/EvpProxyApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public EvpProxyApi(
4242
OkHttpClient httpClient,
4343
boolean responseCompression) {
4444
this.traceId = traceId;
45-
this.evpProxyUrl = evpProxyUrl.resolve(String.format("api/%s/", API_VERSION));
45+
this.evpProxyUrl = evpProxyUrl.resolve("api/" + API_VERSION + "/");
4646
this.subdomain = subdomain;
4747
this.retryPolicyFactory = retryPolicyFactory;
4848
this.httpClient = httpClient;

0 commit comments

Comments
 (0)