X Tutup
Skip to content

Commit f85b59d

Browse files
author
Marcus Linke
committed
Renamed networStats to network
1 parent ee1b8cf commit f85b59d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/com/github/dockerjava/api/model/Statistics.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public class Statistics {
3030
*/
3131
@Deprecated
3232
@JsonProperty("network")
33-
private Map<String, Object> networkStats;
33+
private Map<String, Object> network;
3434

3535
@JsonProperty("memory_stats")
3636
private Map<String, Object> memoryStats;
@@ -53,8 +53,8 @@ public Map<String, Object> getNetworks() {
5353
* @deprecated as of Docker Remote API 1.21, replaced by {@link #getNetworks()}
5454
*/
5555
@Deprecated
56-
public Map<String, Object> getNetworkStats() {
57-
return networkStats;
56+
public Map<String, Object> getNetwork() {
57+
return network;
5858
}
5959

6060
public Map<String, Object> getCpuStats() {

0 commit comments

Comments
 (0)
X Tutup