chore: fmt

Signed-off-by: Carl-Erik Bergström <cbergstrom@spotify.com>
This commit is contained in:
Carl-Erik Bergström
2023-08-22 16:36:49 +02:00
parent ad285f36e7
commit a744b408f6
@@ -88,9 +88,7 @@ const getChildOwnershipEntityRefs = async (
const hasChildGroups = childGroups.length > 0;
if (hasChildGroups) {
const entityRefs = childGroups.map(
r => stringifyEntityRef(r),
);
const entityRefs = childGroups.map(r => stringifyEntityRef(r));
const childGroupResponse = await catalogApi.getEntitiesByRefs({
fields: ['kind', 'metadata.namespace', 'metadata.name'],
entityRefs,
@@ -108,9 +106,7 @@ const getChildOwnershipEntityRefs = async (
).flatMap(aggregated => aggregated);
}
return [
stringifyEntityRef(entity),
];
return [stringifyEntityRef(entity)];
};
const getOwners = async (