diff --git a/sandbox-apis/byon/src/main/java/org/jclouds/byon/config/BYONComputeServiceContextModule.java b/sandbox-apis/byon/src/main/java/org/jclouds/byon/config/BYONComputeServiceContextModule.java index 35583af156..e093ef4577 100644 --- a/sandbox-apis/byon/src/main/java/org/jclouds/byon/config/BYONComputeServiceContextModule.java +++ b/sandbox-apis/byon/src/main/java/org/jclouds/byon/config/BYONComputeServiceContextModule.java @@ -31,7 +31,6 @@ import org.jclouds.concurrent.SingleThreaded; import org.jclouds.location.Provider; import com.google.common.base.Supplier; -import com.google.common.base.Suppliers; import com.google.common.collect.ImmutableMap; import com.google.inject.Provides; @@ -51,8 +50,15 @@ public class BYONComputeServiceContextModule extends @Provides @Singleton Supplier> provideNodeList(@Provider URI uri) { - // TODO parse uri into list, using yaml or something - return Suppliers.> ofInstance(ImmutableMap. of()); + return new Supplier> (){ + + @Override + public Map get() { + // TODO parse uri into list, using yaml or something + return ImmutableMap. of(); + } + + }; } @Provides