Skip to content

Commit

Permalink
removed LocalDateTime
Browse files Browse the repository at this point in the history
  • Loading branch information
CriMDev97 committed Dec 4, 2023
1 parent 5b7d3cf commit f596b11
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import org.slf4j.MDC;
import org.springframework.stereotype.Component;

import java.time.LocalDateTime;
import java.time.Instant;
import java.time.format.DateTimeFormatter;
import java.util.List;

Expand All @@ -29,7 +29,7 @@ public class AutoUpdaterController {


public void scheduleUpdater(String applicationType) {
log.info("ScheduleUpdater of {} started at {}", applicationType, dateTimeFormatter.format(LocalDateTime.now()));
log.info("ScheduleUpdater of {} started at {}", applicationType, dateTimeFormatter.format(Instant.now()));
Long lastEventId = this.tracingBatchService.getLastEventIdByTracingBatchAndType(applicationType);
lastEventId = updateRecursiveFlow(lastEventId, applicationType);
tracingBatchService.terminateTracingBatch(TracingBatchStateEnum.ENDED, lastEventId+1, applicationType);
Expand Down

0 comments on commit f596b11

Please sign in to comment.