fix updateVO method

This commit is contained in:
Roberto Cirillo 2019-10-22 18:56:12 +02:00
parent 5e45fd82d6
commit 565312cbb0
1 changed files with 2 additions and 2 deletions

View File

@ -239,8 +239,8 @@ public class RegistryPublisherImpl implements RegistryPublisher {
vosScopes.remove(currentVO); vosScopes.remove(currentVO);
// in this case it is a root-vo scope so we need to update the resource only at root-vo level // in this case it is a root-vo scope so we need to update the resource only at root-vo level
}else{ }else{
RegistryStub stub = getRegistryStub(); ScopeProvider.instance.set(currentScope);
createResource(resource, currentVO, stub); registryUpdate(resource, 0);
return resource; return resource;
} }