File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
docker-java-api/src/main/java/com/github/dockerjava/api/command
docker-java/src/test/java/com/github/dockerjava/cmd Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -61,10 +61,10 @@ public class InspectContainerResponse extends DockerObject {
6161 private String id ;
6262
6363 @ JsonProperty ("SizeRootFs" )
64- private Integer sizeRootFs ;
64+ private Long sizeRootFs ;
6565
6666 @ JsonProperty ("SizeRw" )
67- private Integer sizeRw ;
67+ private Long sizeRw ;
6868
6969 @ JsonProperty ("Image" )
7070 private String imageId ;
@@ -124,11 +124,11 @@ public String getId() {
124124 return id ;
125125 }
126126
127- public Integer getSizeRootFs () {
127+ public Long getSizeRootFs () {
128128 return sizeRootFs ;
129129 }
130130
131- public Integer getSizeRw () {
131+ public Long getSizeRw () {
132132 return sizeRw ;
133133 }
134134
Original file line number Diff line number Diff line change @@ -100,9 +100,9 @@ public void inspectContainerWithSize() throws DockerException {
100100 // TODO check swarm
101101 if (isNotSwarm (dockerRule .getClient ())) {
102102 assertNotNull (containerInfo .getSizeRootFs ());
103- assertTrue (containerInfo .getSizeRootFs ().intValue () > 0 );
103+ assertTrue (containerInfo .getSizeRootFs ().longValue () > 0L );
104104 assertNotNull (containerInfo .getSizeRw ());
105- assertTrue (containerInfo .getSizeRw ().intValue () == 0 );
105+ assertTrue (containerInfo .getSizeRw ().longValue () == 0L );
106106 }
107107 }
108108
You can’t perform that action at this time.
0 commit comments