The Node element of the container json is optional as well as nullable.

In PR #277 I tested against docker-engine provisioned through docker-machine 
and docker-swarm but not against vanilla docker engine.  I have now tested 
against all three.
You can view, comment on, or merge this pull request online at:

  https://github.com/jclouds/jclouds-labs/pull/281

-- Commit Summary --

  * Node json should be optional

-- File Changes --

    M 
docker/src/main/java/org/jclouds/docker/compute/functions/ContainerToNodeMetadata.java
 (5)
    M docker/src/main/java/org/jclouds/docker/domain/Container.java (9)
    M 
docker/src/test/java/org/jclouds/docker/compute/functions/ContainerToNodeMetadataTest.java
 (3)
    M docker/src/test/java/org/jclouds/docker/parse/ContainerParseTest.java (5)
    M 
docker/src/test/java/org/jclouds/docker/parse/ContainerVersionMajor1Minor21.java
 (3)
    M docker/src/test/resources/container.json (3)

-- Patch Links --

https://github.com/jclouds/jclouds-labs/pull/281.patch
https://github.com/jclouds/jclouds-labs/pull/281.diff

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/281

Reply via email to