Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmyjames committed Feb 6, 2025
1 parent 68ac3e0 commit 95fdbb6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/main/java/dev/openfga/sdk/api/OpenFgaApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -1155,7 +1155,8 @@ private Map<Attribute, String> buildTelemetryAttributes(Map<String, Object> attr

if (batchCheckRequest.getChecks() != null) {
telemetryAttributes.put(
Attributes.FGA_CLIENT_REQUEST_BATCH_CHECK_SIZE, String.valueOf(batchCheckRequest.getChecks().size()));
Attributes.FGA_CLIENT_REQUEST_BATCH_CHECK_SIZE,
String.valueOf(batchCheckRequest.getChecks().size()));
}
}
}
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/dev/openfga/sdk/telemetry/Attributes.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ public class Attributes {
/**
* The number of items to check in a batch request, if applicable.
*/
public static final Attribute FGA_CLIENT_REQUEST_BATCH_CHECK_SIZE = new Attribute("fga-client.request.batch_check_size");
public static final Attribute FGA_CLIENT_REQUEST_BATCH_CHECK_SIZE =
new Attribute("fga-client.request.batch_check_size");

/**
* The authorization model ID used by the server when evaluating the request, if applicable.
Expand Down

0 comments on commit 95fdbb6

Please sign in to comment.