Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtoLord committed Apr 11, 2024
1 parent d280722 commit a5d6a4d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,11 @@ public record DockerEnvDescription(
List<MountDescription> mounts,
boolean needGpu,
List<String> envVars, // In format <NAME>=<value>
@Nullable
String networkMode,
@Nullable String networkMode,
DockerClientConfig dockerClientConfig,
String user,
Set<String> allowedPlatforms, // In format os/arch like "linux/amd64". Empty means all are allowed
@Nullable
Long memLimitMb
@Nullable Long memLimitMb
) {

public static Builder newBuilder() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,8 @@ private boolean isOomKilled() {

var killed = client.inspectContainerCmd(containerId)
.exec()
.getState().getOOMKilled();
.getState()
.getOOMKilled();

if (killed != null) {
return killed;
Expand Down

0 comments on commit a5d6a4d

Please sign in to comment.