Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
turing85 committed Sep 11, 2024
1 parent 6009f7c commit 1ac0822
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public static void main(String... args) {
.forLogger(LogManager.getLogger("system.out"))
.buildPrintStream());
CitrusRemoteServer.entrypoint(
args, List.of(CustomEntrypoint::getLogHandler, CustomEntrypoint::rorateLogHandler));
args, List.of(CustomEntrypoint::getLogHandler, CustomEntrypoint::rotateLogHandler));
}

private static void getLogHandler(Router router) {
Expand Down Expand Up @@ -61,7 +61,7 @@ private static void getLogHandler(Router router) {
}));
}

private static void rorateLogHandler(Router router) {
private static void rotateLogHandler(Router router) {
router.delete("/citrus-logs")
.handler(CitrusRemoteApplication.wrapThrowingHandler(ctx -> {
HttpServerResponse response = ctx.response();
Expand Down

0 comments on commit 1ac0822

Please sign in to comment.