catalog-import: Display prepareResult in final step
Signed-off-by: Johan Haals <johan.haals@gmail.com>
This commit is contained in:
@@ -134,12 +134,6 @@ export class CatalogClient implements CatalogApi {
|
||||
throw new Error(`Location wasn't added: ${target}`);
|
||||
}
|
||||
|
||||
// TODO(jhaals): This will throw using the experimental catalog since all discovered entities are deferred.
|
||||
if (entities.length === 0) {
|
||||
throw new Error(
|
||||
`Location was added but has no entities specified yet: ${target}`,
|
||||
);
|
||||
}
|
||||
return {
|
||||
location,
|
||||
entities,
|
||||
|
||||
Reference in New Issue
Block a user