> @@ -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()) {
Added a comment because this is definitely "out of the norm". I don't think
it's necessary to link it to the JIRA issue, otherwise the code base would be
littered with links to JIRA issue. ;)
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/414/files#r14035503