File tree Expand file tree Collapse file tree 4 files changed +12
-8
lines changed
docker-java/src/test/java/com/github/dockerjava/cmd
src/main/java/com/github/dockerjava/api/command Expand file tree Collapse file tree 4 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 81
81
</instructions >
82
82
</configuration >
83
83
</plugin >
84
+ <plugin >
85
+ <groupId >com.github.siom79.japicmp</groupId >
86
+ <artifactId >japicmp-maven-plugin</artifactId >
87
+ </plugin >
84
88
</plugins >
85
89
</build >
86
90
</project >
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 Long sizeRootFs ;
64
+ private Integer sizeRootFs ;
65
65
66
66
@ JsonProperty ("SizeRw" )
67
- private Long sizeRw ;
67
+ private Integer 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 Long getSizeRootFs () {
127
+ public Integer getSizeRootFs () {
128
128
return sizeRootFs ;
129
129
}
130
130
131
- public Long getSizeRw () {
131
+ public Integer 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 ().longValue () > 0L );
103
+ assertTrue (containerInfo .getSizeRootFs ().intValue () > 0 );
104
104
assertNotNull (containerInfo .getSizeRw ());
105
- assertTrue (containerInfo .getSizeRw ().longValue () == 0L );
105
+ assertTrue (containerInfo .getSizeRw ().intValue () == 0 );
106
106
}
107
107
}
108
108
Original file line number Diff line number Diff line change 243
243
<!-- use with "mvn -DskipTests clean verify" -->
244
244
<groupId >com.github.siom79.japicmp</groupId >
245
245
<artifactId >japicmp-maven-plugin</artifactId >
246
- <version >0.18.2 </version >
246
+ <version >0.18.3 </version >
247
247
<configuration >
248
248
<oldVersion >
249
249
<dependency >
250
250
<groupId >com.github.docker-java</groupId >
251
251
<artifactId >${project.artifactId}</artifactId >
252
- <version >3.2.0 </version >
252
+ <version >3.3.4 </version >
253
253
<type >jar</type >
254
254
</dependency >
255
255
</oldVersion >
You can’t perform that action at this time.
0 commit comments