Skip to content

Commit 3c287ec

Browse files
authored
Make #1638 less breaking by implementing getPlatform (#1661)
1 parent 6a44f43 commit 3c287ec

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docker-java-api/src/main/java/com/github/dockerjava/api/command/CreateContainerCmd.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1007,7 +1007,9 @@ default CreateContainerCmd withUlimits(List<Ulimit> ulimits) {
10071007
}
10081008

10091009
@CheckForNull
1010-
String getPlatform();
1010+
default String getPlatform() {
1011+
return null;
1012+
}
10111013

10121014
CreateContainerCmd withPlatform(String platform);
10131015

0 commit comments

Comments
 (0)