> +import org.jclouds.domain.Location;
> +import org.jclouds.functions.IdentityFunction;
> +import org.jclouds.lifecycle.Closer;
> +import org.jclouds.location.suppliers.ImplicitLocationSupplier;
> +import org.jclouds.location.suppliers.implicit.OnlyLocationOrFirstZone;
> +import static org.jclouds.util.Predicates2.retry;
> +
> +public class ProfitBricksComputeServiceContextModule extends
> + ComputeServiceAdapterContextModule<ServerInDataCenter, Hardware,
> Provisionable, DataCenter> {
> +
> + @Override
> + protected void configure() {
> + super.configure();
> +
> + install(new
> LocationsFromComputeServiceAdapterModule<ServerInDataCenter, Hardware,
> Provisionable, DataCenter>() {
> + });
Remove this to let the locations be configured from the properties int he
metadata.
---
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/292/files/9251ab7434bcafb1dcbec5a718acc3c24517c94d#r73312054