git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vre-management/VREModeler@7349 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
ea244d4b0e
commit
310cfd9a0a
|
@ -20,7 +20,7 @@ public class ServiceContext extends GCUBEServiceContext{
|
|||
|
||||
protected void onReady() throws Exception{
|
||||
logger.info("ready event invoked on " + this.getName());
|
||||
IStoDBUtil.initDB(ServiceContext.getContext().getStartScopes()[0]);
|
||||
IStoDBUtil.initDB(ServiceContext.getContext().getStartScopes()[0].isInfrastructure()? ServiceContext.getContext().getStartScopes()[1]: ServiceContext.getContext().getStartScopes()[0]);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue