| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -63,6 +63,9 @@ public class InspectContainerResponse extends DockerObject { | |||
| 63 | 63 | @JsonProperty("SizeRootFs") | |
| 64 | 64 | private Integer sizeRootFs; | |
| 65 | 65 | ||
| 66 | + @JsonProperty("SizeRw") | ||
| 67 | + private Integer sizeRw; | ||
| 68 | + | ||
| 66 | 69 | @JsonProperty("Image") | |
| 67 | 70 | private String imageId; | |
| 68 | 71 | ||
@@ -125,6 +128,10 @@ public Integer getSizeRootFs() { | |||
| 125 | 128 | return sizeRootFs; | |
| 126 | 129 | } | |
| 127 | 130 | ||
| 131 | + public Integer getSizeRw() { | ||
| 132 | + return sizeRw; | ||
| 133 | + } | ||
| 134 | + | ||
| 128 | 135 | public String getCreated() { | |
| 129 | 136 | return created; | |
| 130 | 137 | } | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -101,6 +101,8 @@ public void inspectContainerWithSize() throws DockerException { | |||
| 101 | 101 | if (isNotSwarm(dockerRule.getClient())) { | |
| 102 | 102 | assertNotNull(containerInfo.getSizeRootFs()); | |
| 103 | 103 | assertTrue(containerInfo.getSizeRootFs().intValue() > 0); | |
| 104 | + assertNotNull(containerInfo.getSizeRw()); | ||
| 105 | + assertTrue(containerInfo.getSizeRw().intValue() == 0); | ||
| 104 | 106 | } | |
| 105 | 107 | } | |
| 106 | 108 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -6,6 +6,7 @@ | |||
| 6 | 6 | "postgres" | |
| 7 | 7 | ], | |
| 8 | 8 | "SizeRootFs" : null, | |
| 9 | + "SizeRw" : null, | ||
| 9 | 10 | "HostConfig" : { | |
| 10 | 11 | "KernelMemory" : 0, | |
| 11 | 12 | "MemorySwappiness" : -1, | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -10,6 +10,7 @@ | |||
| 10 | 10 | "Created": 1455662451, | |
| 11 | 11 | "Ports": [], | |
| 12 | 12 | "SizeRootFs": 1113554, | |
| 13 | + "SizeRw": 0, | ||
| 13 | 14 | "Labels": {}, | |
| 14 | 15 | "Status": "Up Less than a second", | |
| 15 | 16 | "HostConfig": { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments