mirror of https://github.com/apache/jclouds.git
reverted mistaken changes to ComputeServiceContextBuilder
This commit is contained in:
parent
3c776b8768
commit
f04ef5ad4c
|
@ -48,7 +48,7 @@ public abstract class ComputeServiceContextBuilder<S, A> extends RestContextBuil
|
|||
|
||||
@Override
|
||||
public Injector buildInjector() {
|
||||
addHostModuleIfNotPresent();
|
||||
addImageResolutionModuleIfNotPresent();
|
||||
return super.buildInjector();
|
||||
}
|
||||
|
||||
|
@ -67,7 +67,7 @@ public abstract class ComputeServiceContextBuilder<S, A> extends RestContextBuil
|
|||
asyncClientType)));
|
||||
}
|
||||
|
||||
protected void addHostModuleIfNotPresent() {
|
||||
protected void addImageResolutionModuleIfNotPresent() {
|
||||
if (!Iterables.any(modules, new Predicate<Module>() {
|
||||
public boolean apply(Module input) {
|
||||
return input.getClass().isAnnotationPresent(ResolvesImages.class);
|
||||
|
|
Loading…
Reference in New Issue