bostko commented on this pull request.


> @@ -108,13 +113,15 @@ public String toString() {
    public static DataDisk create(final String name, final String diskSizeGB, 
final Integer lun,
                                  final VHD vhd, final VHD image, final String 
createOption, final String caching, 
                                  final ManagedDiskParameters 
managedDiskParamenters, final String provisioningState) {
-      return builder()
-              .name(name)
+      final Builder builder = builder();
+      if (caching != null) {

Otherwise null will be treated as Unrecognized.

-- 
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/394#pullrequestreview-40649542

Reply via email to