forked from gCubeSystem/registry-publisher
added check on root-vo scope
This commit is contained in:
parent
6d2fcb0286
commit
84d1fbe91c
|
@ -110,6 +110,11 @@ public class RegistryPublisherImpl implements RegistryPublisher {
|
|||
RegistryStub stub = getRegistryStub();
|
||||
createResource(resource, currentVO, stub);
|
||||
vosScopes.remove(currentVO);
|
||||
//in this case it is a root-vo scope so we need to create the resource only at root-vo level
|
||||
}else{
|
||||
RegistryStub stub = getRegistryStub();
|
||||
createResource(resource, currentVO, stub);
|
||||
return resource;
|
||||
}
|
||||
// update the resource for each VO
|
||||
for (String voScope: vosScopes){
|
||||
|
|
Loading…
Reference in New Issue