File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
docker-java/src/test/java/com/github/dockerjava/cmd
docker-java-api/src/main/java/com/github/dockerjava/api/command 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 {
61
61
private String id ;
62
62
63
63
@ JsonProperty ("SizeRootFs" )
64
- private Integer sizeRootFs ;
64
+ private Long sizeRootFs ;
65
65
66
66
@ JsonProperty ("SizeRw" )
67
- private Integer sizeRw ;
67
+ private Long sizeRw ;
68
68
69
69
@ JsonProperty ("Image" )
70
70
private String imageId ;
@@ -124,11 +124,11 @@ public String getId() {
124
124
return id ;
125
125
}
126
126
127
- public Integer getSizeRootFs () {
127
+ public Long getSizeRootFs () {
128
128
return sizeRootFs ;
129
129
}
130
130
131
- public Integer getSizeRw () {
131
+ public Long getSizeRw () {
132
132
return sizeRw ;
133
133
}
134
134
Original file line number Diff line number Diff line change @@ -100,9 +100,9 @@ public void inspectContainerWithSize() throws DockerException {
100
100
// TODO check swarm
101
101
if (isNotSwarm (dockerRule .getClient ())) {
102
102
assertNotNull (containerInfo .getSizeRootFs ());
103
- assertTrue (containerInfo .getSizeRootFs ().intValue () > 0 );
103
+ assertTrue (containerInfo .getSizeRootFs ().longValue () > 0L );
104
104
assertNotNull (containerInfo .getSizeRw ());
105
- assertTrue (containerInfo .getSizeRw ().intValue () == 0 );
105
+ assertTrue (containerInfo .getSizeRw ().longValue () == 0L );
106
106
}
107
107
}
108
108
You can’t perform that action at this time.
0 commit comments