Fix typo calling wrong method

This commit is contained in:
Richard Downer 2011-12-05 21:17:39 +02:00
parent 958681b38b
commit 120c907633

View File

@ -216,7 +216,7 @@ public class BaseCloudStackClientLiveTest extends BaseVersionedServiceLiveTest {
adminClient = domainAdminContext.getApi(); adminClient = domainAdminContext.getApi();
} }
globalAdminEnabled = setupDomainAdminProperties() != null; globalAdminEnabled = setupGlobalAdminProperties() != null;
if (globalAdminEnabled) { if (globalAdminEnabled) {
globalAdminComputeContext = CloudStackContext.class.cast(new ComputeServiceContextFactory(setupRestProperties()). globalAdminComputeContext = CloudStackContext.class.cast(new ComputeServiceContextFactory(setupRestProperties()).
createContext(provider, ImmutableSet.<Module> of( createContext(provider, ImmutableSet.<Module> of(