Skip to content

Commit

Permalink
catalog-import: stop trying to register optional locations
Browse files Browse the repository at this point in the history
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
  • Loading branch information
Rugvip committed Feb 18, 2022
1 parent c476099 commit 9d98865
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/yellow-boxes-jump.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-import': patch
---

No longer attempt to register locations as optional, since it's ignored.
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@ export const StepReviewLocation = ({
const result = await catalogApi.addLocation({
type: 'url',
target: l.target,
presence:
prepareResult.type === 'repository' ? 'optional' : 'required',
});
return {
target: result.location.target,
Expand Down

0 comments on commit 9d98865

Please sign in to comment.