Fixing bug
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/resource-registry-handlers@147255 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
9632747a0f
commit
ac9d29e413
|
@ -254,7 +254,8 @@ public class EServiceManager extends ApplicationLifecycleHandler {
|
|||
ResourceRegistryPublisher resourceRegistryPublisher) {
|
||||
|
||||
HostingNode hostingNode = applicationContext.container().properties().lookup(Constants.HOSTING_NODE_PROPERTY).value(HostingNode.class);
|
||||
|
||||
addHostingNodeToCurrentContext();
|
||||
|
||||
if (hostingNode != null) {
|
||||
|
||||
ResourceRegistryClient resourceRegistryClient = ResourceRegistryClientFactory.create();
|
||||
|
|
Loading…
Reference in New Issue