X Tutup
Skip to content

Commit 3aef2d0

Browse files
committed
adding RestartCount to InspectContainerResponse
1 parent 8fe6943 commit 3aef2d0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/main/java/com/github/dockerjava/api/command/InspectContainerResponse.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ public class InspectContainerResponse {
6666
@JsonProperty("Name")
6767
private String name;
6868

69+
@JsonProperty("RestartCount")
70+
private int restartCount;;
71+
6972
@JsonProperty("NetworkSettings")
7073
private NetworkSettings networkSettings;
7174

@@ -160,6 +163,10 @@ public String getName() {
160163
return name;
161164
}
162165

166+
public int getRestartCount() {
167+
return restartCount;
168+
}
169+
163170
public String getDriver() {
164171
return driver;
165172
}

0 commit comments

Comments
 (0)
X Tutup