mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-03 20:19:31 +00:00
Fix incorrect condition in getDomains() method (#22983)
This commit is contained in:
parent
672858f0fc
commit
7ae490fc13
@ -81,7 +81,7 @@ public class CreateResourceContext<T extends EntityInterface> implements Resourc
|
||||
}
|
||||
List<EntityReference> domains = new ArrayList<>();
|
||||
for (EntityInterface parent : parentEntities) {
|
||||
if (parent.getOwners() != null) {
|
||||
if (parent.getDomains() != null) {
|
||||
domains = mergedInheritedEntityRefs(domains, parent.getDomains());
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user