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:
parent
184690f2d6
commit
5fb6eae171
|
@ -162,7 +162,7 @@ public class InstancesManager {
|
|||
|
||||
boolean create = false;
|
||||
try {
|
||||
erManagement.read();
|
||||
erManagement.exists();
|
||||
} catch(NotFoundException e) {
|
||||
create = true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue