Skip to content

Commit

Permalink
Platform current
Browse files Browse the repository at this point in the history
  • Loading branch information
FDelporte committed Jun 13, 2024
1 parent ede9281 commit 5a81ccc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public void contribute(Builder builder) {
builder.withDetail("reading.uptime", boardReading.getUptimeInfo().trim());

try {
builder.withDetail("platform.name", context.platform().name());
builder.withDetail("platform.current", context.platform().name());
} catch (Exception ex) {
logger.error("Could not return the Pi4J Default Platform: {}", ex.getMessage());
}
Expand Down

0 comments on commit 5a81ccc

Please sign in to comment.