Skip to content

Commit 894f9c0

Browse files
fix(triggers): Fix triggerParser warning to use optional value (#729)
1 parent cc77a8d commit 894f9c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/io/cryostat/agent/triggers/TriggerParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public List<SmartTrigger> parseFromFiles() {
5555
if (triggerPath.isPresent() && !checkDir()) {
5656
log.warn(
5757
"Configuration directory {} doesn't exist or is missing permissions",
58-
triggerPath.toString());
58+
triggerPath.get().toString());
5959
return Collections.emptyList();
6060
}
6161
try {

0 commit comments

Comments
 (0)