mirror of https://github.com/apache/jclouds.git
Allow jclouds to provision SoftLayer instances with a private image. Fix
Bug JCLOUDS-1410.
This commit is contained in:
parent
06e10864c2
commit
a537ca42eb
|
@ -158,7 +158,7 @@ public class SoftLayerComputeServiceAdapter implements
|
|||
|
||||
// set operating system or blockDeviceTemplateGroup
|
||||
Optional<OperatingSystem> optionalOperatingSystem = tryExtractOperatingSystemFrom(imageId);
|
||||
if (optionalOperatingSystem != null) {
|
||||
if (optionalOperatingSystem.isPresent()) {
|
||||
virtualGuestBuilder.operatingSystem(optionalOperatingSystem.get());
|
||||
// the imageId specified is an id of a public/private/flex image
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue