org.jclouds.compute.domain.Image has "name" and 
"description" properties. "name" is Nullable but 
"description" isn't. This seems to be a little inconsistent, why 
should an Image description String be so strict about its contents if the name 
is completely ambivalent?

While this seems to be a pretty trivial matter the "openstack-nova" 
provider has no concept of an Image description, only a name. This is worked 
around by assigning the "openstack-nova" name to both the JClouds 
Image name and description. I'm experiencing an issue when the 
"openstack-nova" has a null name and tries to assign it to the 
currently NOT nullable description.

I hope this makes sense :)
You can merge this Pull Request by running:

  git pull https://github.com/joshvote/jclouds master

Or you can view, comment on it, or merge it online at:

  https://github.com/jclouds/jclouds/pull/146

-- Commit Summary --

  * Made the description in org.jclouds.compute.domain.Image nullable

-- File Changes --

    M compute/src/main/java/org/jclouds/compute/domain/Image.java (2)
    M compute/src/main/java/org/jclouds/compute/domain/ImageBuilder.java (4)
    M compute/src/main/java/org/jclouds/compute/domain/internal/ImageImpl.java 
(4)
    A compute/src/test/java/org/jclouds/compute/domain/ImageBuilderTest.java 
(42)

-- Patch Links --

https://github.com/jclouds/jclouds/pull/146.patch
https://github.com/jclouds/jclouds/pull/146.diff

Reply via email to