Skip to content

Commit 9cfdf0c

Browse files
committed
Remove Memory, MemorySwap and CpuShares mappings from ContainerConfig
1 parent 79a6b60 commit 9cfdf0c

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

src/main/java/com/github/dockerjava/api/model/ContainerConfig.java

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,6 @@ public class ContainerConfig {
2828
@JsonProperty("Cmd")
2929
private String[] cmd;
3030

31-
@JsonProperty("CpuShares")
32-
private int cpuShares = 0;
33-
34-
@JsonProperty("Cpuset")
35-
private String cpuset = "";
36-
3731
@JsonProperty("Domainname")
3832
private String domainName = "";
3933

@@ -58,12 +52,6 @@ public class ContainerConfig {
5852
@JsonProperty("MacAddress")
5953
private String macAddress;
6054

61-
@JsonProperty("Memory")
62-
private long memoryLimit = 0;
63-
64-
@JsonProperty("MemorySwap")
65-
private long memorySwap = 0;
66-
6755
@JsonProperty("NetworkDisabled")
6856
private boolean networkDisabled = false;
6957

@@ -136,22 +124,6 @@ public String getMacAddress() {
136124
return macAddress;
137125
}
138126

139-
public long getMemoryLimit() {
140-
return memoryLimit;
141-
}
142-
143-
public long getMemorySwap() {
144-
return memorySwap;
145-
}
146-
147-
public int getCpuShares() {
148-
return cpuShares;
149-
}
150-
151-
public String getCpuset() {
152-
return cpuset;
153-
}
154-
155127
public boolean isAttachStdin() {
156128
return attachStdin;
157129
}

0 commit comments

Comments
 (0)