From 0ed0af796b06307fe2f35818f9415598a2f59b3f Mon Sep 17 00:00:00 2001 From: David Xia Date: Mon, 5 Jun 2017 14:22:36 -0400 Subject: [PATCH] Make MemoryStat.stats nullable fixes #743 --- .../java/com/spotify/docker/client/messages/MemoryStats.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/spotify/docker/client/messages/MemoryStats.java b/src/main/java/com/spotify/docker/client/messages/MemoryStats.java index 5d05a12a5..673d4efd7 100644 --- a/src/main/java/com/spotify/docker/client/messages/MemoryStats.java +++ b/src/main/java/com/spotify/docker/client/messages/MemoryStats.java @@ -35,6 +35,7 @@ @JsonAutoDetect(fieldVisibility = ANY, getterVisibility = NONE, setterVisibility = NONE) public abstract class MemoryStats { + @Nullable @JsonProperty("stats") public abstract Stats stats();