mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-13 09:23:45 +00:00
Fix incorrect condition in getDomains() method (#22983)
(cherry picked from commit 7ae490fc1304633ed962fb773faa052aa3a930a9)
This commit is contained in:
parent
3a22bb7b38
commit
1c4e750803
@ -81,7 +81,7 @@ public class CreateResourceContext<T extends EntityInterface> implements Resourc
|
|||||||
}
|
}
|
||||||
List<EntityReference> domains = new ArrayList<>();
|
List<EntityReference> domains = new ArrayList<>();
|
||||||
for (EntityInterface parent : parentEntities) {
|
for (EntityInterface parent : parentEntities) {
|
||||||
if (parent.getOwners() != null) {
|
if (parent.getDomains() != null) {
|
||||||
domains = mergedInheritedEntityRefs(domains, parent.getDomains());
|
domains = mergedInheritedEntityRefs(domains, parent.getDomains());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user