From 5a81cccd8ee3966cdb63444495f16a68de9f8373 Mon Sep 17 00:00:00 2001 From: Frank Delporte Date: Thu, 13 Jun 2024 18:19:47 +0200 Subject: [PATCH] Platform current --- .../java/com/pi4j/spring/boot/Pi4jActuatorConfiguration.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pi4j-spring-boot/src/main/java/com/pi4j/spring/boot/Pi4jActuatorConfiguration.java b/pi4j-spring-boot/src/main/java/com/pi4j/spring/boot/Pi4jActuatorConfiguration.java index e261f14..1a38caa 100644 --- a/pi4j-spring-boot/src/main/java/com/pi4j/spring/boot/Pi4jActuatorConfiguration.java +++ b/pi4j-spring-boot/src/main/java/com/pi4j/spring/boot/Pi4jActuatorConfiguration.java @@ -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()); }