> @@ -199,8 +207,7 @@ public VirtualMachineTemplateInVirtualDatacenter
> apply(final VirtualDatacenter v
>
> @Override
> public VirtualMachineTemplate getImage(final String id) {
> - Enterprise enterprise = adminService.getCurrentEnterprise();
> - return find(enterprise.listTemplates(), new
> Predicate<VirtualMachineTemplate>() {
> + return find(listImages(), new Predicate<VirtualMachineTemplate>() {
It is just cleanup to keep this method aligned with the listImages one, as the
code they use is the same. Just avoid duplicating code.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/25/files#r5998621