Added edge rule chain if edges disabled - for future, when edges are enabled back
This commit is contained in:
parent
a3d728f03e
commit
19bbccce56
@ -95,9 +95,7 @@ public class TenantController extends BaseController {
|
|||||||
tenant = checkNotNull(tenantService.saveTenant(tenant));
|
tenant = checkNotNull(tenantService.saveTenant(tenant));
|
||||||
if (newTenant) {
|
if (newTenant) {
|
||||||
installScripts.createDefaultRuleChains(tenant.getId());
|
installScripts.createDefaultRuleChains(tenant.getId());
|
||||||
if (edgesEnabled) {
|
installScripts.createDefaultEdgeRuleChains(tenant.getId());
|
||||||
installScripts.createDefaultEdgeRuleChains(tenant.getId());
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
tenantProfileCache.evict(tenant.getId());
|
tenantProfileCache.evict(tenant.getId());
|
||||||
tbClusterService.onTenantChange(tenant, null);
|
tbClusterService.onTenantChange(tenant, null);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user