mirror of
https://github.com/apache/jclouds.git
synced 2025-02-16 15:08:28 +00:00
EC2 image architecture can be null. Don't throw NPE if architecture is null.
This commit is contained in:
parent
799d08f89b
commit
a5b20ecd4a
@ -78,7 +78,7 @@ public class Image implements Comparable<Image> {
|
|||||||
@Nullable String ramdiskId, RootDeviceType rootDeviceType, @Nullable String rootDeviceName,
|
@Nullable String ramdiskId, RootDeviceType rootDeviceType, @Nullable String rootDeviceName,
|
||||||
Map<String, EbsBlockDevice> ebsBlockDevices, VirtualizationType virtualizationType, Hypervisor hypervisor) {
|
Map<String, EbsBlockDevice> ebsBlockDevices, VirtualizationType virtualizationType, Hypervisor hypervisor) {
|
||||||
this.region = checkNotNull(region, "region");
|
this.region = checkNotNull(region, "region");
|
||||||
this.architecture = checkNotNull(architecture, "architecture");
|
this.architecture = architecture;
|
||||||
this.imageId = checkNotNull(imageId, "imageId");
|
this.imageId = checkNotNull(imageId, "imageId");
|
||||||
this.name = name;
|
this.name = name;
|
||||||
this.description = description;
|
this.description = description;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user