Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
SgtSilvio committed Feb 28, 2024
1 parent 15b0671 commit 4690675
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions core/src/main/java/org/testcontainers/images/ImageData.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ public class ImageData {

static ImageData from(InspectImageResponse inspectImageResponse) {
final String created = inspectImageResponse.getCreated();
final Instant createdInstant =
((created == null) || created.isEmpty()) ? Instant.EPOCH : ZonedDateTime.parse(created).toInstant();
final Instant createdInstant = ((created == null) || created.isEmpty())
? Instant.EPOCH
: ZonedDateTime.parse(created).toInstant();
return ImageData.builder().createdAt(createdInstant).build();
}

Expand Down

0 comments on commit 4690675

Please sign in to comment.