Refs #11288: Made resource-registry more RESTful

Task-Url: https://support.d4science.org/issues/11288

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@169060 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2018-06-12 14:06:36 +00:00
parent 184690f2d6
commit 5fb6eae171
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ public class InstancesManager {
boolean create = false;
try {
erManagement.read();
erManagement.exists();
} catch(NotFoundException e) {
create = true;
}