> @@ -122,7 +122,15 @@ public ServerWithSecurityGroups deserialize(JsonElement 
> jsonElement, Type type,
>        @Override
>        public Server deserialize(JsonElement jsonElement, Type type, 
> JsonDeserializationContext context)
>              throws JsonParseException {
> -         Server serverBase = apply((ServerInternal) 
> context.deserialize(jsonElement, ServerInternal.class));
> +         Server serverBase = null;
> +
> +         if (jsonElement.getAsJsonObject().get("image").isJsonObject()) {

Worth adding a comment explaining why we're doing this, with a link to the JIRA 
issue?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/414/files#r14009758

Reply via email to