Skip to content

Commit

Permalink
Fix codestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanNemeth committed Feb 11, 2025
1 parent f0467a3 commit 8202d00
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ private void saveStatusResult(Environment environment, StatusCheckResult result)

// Did the status change? If so, update the statusChangedAt field
if (
!latestStatus.isPresent() ||
latestStatus.get().getHttpStatusCode() != result.httpStatusCode()
!latestStatus.isPresent()
|| latestStatus.get().getHttpStatusCode() != result.httpStatusCode()
) {
environment.setStatusChangedAt(Instant.now());
environmentRepository.save(environment);
Expand Down

0 comments on commit 8202d00

Please sign in to comment.