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()); }