X Tutup
Skip to content

Commit 4887df0

Browse files
committed
Merge pull request #287 from alexwix/master
Using the oomKillDisable flag throws a null pointer exception.
2 parents 5d6d95c + f7b902f commit 4887df0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/github/dockerjava/core/command/CreateContainerCmdImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ public CreateContainerCmd withNetworkMode(String networkMode) {
631631
public CreateContainerCmd withOomKillDisable(Boolean oomKillDisable) {
632632
checkNotNull(oomKillDisable, "oomKillDisable was not specified");
633633
this.oomKillDisable = oomKillDisable;
634-
return null;
634+
return this;
635635
}
636636

637637
@Override

0 commit comments

Comments
 (0)
X Tutup