Merge pull request #9664 from backstage/rugvip/nopt
catalog-import: stop trying to register optional locations
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-catalog-import': patch
|
||||
---
|
||||
|
||||
No longer attempt to register locations as optional, since it's ignored.
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user