Skip to content

Commit

Permalink
fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-ext-simba-jl committed Oct 12, 2023
1 parent 292f848 commit be68074
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,9 @@ public static Telemetry createTelemetry(SFSession session, int flushSize) {
*/
public static Telemetry createSessionlessTelemetry(
CloseableHttpClient httpClient, String serverUrl) {
// By default, use KEYPAIR_JWT as the auth type
return createSessionlessTelemetry(httpClient, serverUrl, "KEYPAIR_JWT", DEFAULT_FORCE_FLUSH_SIZE);
// By default, use KEYPAIR_JWT as the auth type
return createSessionlessTelemetry(
httpClient, serverUrl, "KEYPAIR_JWT", DEFAULT_FORCE_FLUSH_SIZE);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,7 @@ private TelemetryClient createSessionlessTelemetry()
TelemetryClient telemetry =
(TelemetryClient)
TelemetryClient.createSessionlessTelemetry(
httpClient,
String.format("%s:%s", parameters.get("host"), parameters.get("port")));
httpClient, String.format("%s:%s", parameters.get("host"), parameters.get("port")));
telemetry.refreshToken(jwtToken);
return telemetry;
}
Expand Down

0 comments on commit be68074

Please sign in to comment.