Skip to content

Commit

Permalink
remove unused var
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed May 9, 2024
1 parent 8ed6323 commit 14de508
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/io/cryostat/events/S3TemplateService.java
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ void onStart(@Observes StartupEvent evt) {
return;
}
try {
var existing = getTemplates();
Files.walk(dir)
.filter(Files::isRegularFile)
.filter(Files::isReadable)
Expand All @@ -120,7 +119,7 @@ void onStart(@Observes StartupEvent evt) {
logger.warn(e);
}
});
} catch (IOException | FlightRecorderException e) {
} catch (IOException e) {
logger.warn(e);
}
}
Expand Down

0 comments on commit 14de508

Please sign in to comment.