mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
fixes after testing
This commit is contained in:
parent
c165156dcd
commit
ac587c3353
@ -83,7 +83,7 @@ public class DeviceDataPublisher {
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public DataPublisher getDataPublisher() throws DataPublisherConfigurationException {
|
public DataPublisher getDataPublisher() throws DataPublisherConfigurationException {
|
||||||
String tenantDomain = CarbonContext.getThreadLocalCarbonContext().getTenantDomain();
|
String tenantDomain = PrivilegedCarbonContext.getThreadLocalCarbonContext().getTenantDomain(true);
|
||||||
//Get LoadBalancingDataPublisher which has been registered for the tenant.
|
//Get LoadBalancingDataPublisher which has been registered for the tenant.
|
||||||
DataPublisher dataPublisher = getDataPublisher(tenantDomain);
|
DataPublisher dataPublisher = getDataPublisher(tenantDomain);
|
||||||
//If a LoadBalancingDataPublisher had not been registered for the tenant.
|
//If a LoadBalancingDataPublisher had not been registered for the tenant.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user