catalog-model: Prefix annotations with ANNOTATION_

Signed-off-by: Johan Haals <johan.haals@gmail.com>
This commit is contained in:
Johan Haals
2022-02-15 09:30:41 +01:00
parent 80c627d098
commit 27eccab216
33 changed files with 197 additions and 115 deletions
+2 -2
View File
@@ -14,7 +14,7 @@
* limitations under the License.
*/
import { Entity, LOCATION_ANNOTATION } from '@backstage/catalog-model';
import { Entity, ANNOTATION_LOCATION } from '@backstage/catalog-model';
import { createDevApp } from '@backstage/dev-utils';
import { EntityProvider } from '@backstage/plugin-catalog-react';
import OnlineIcon from '@material-ui/icons/Cloud';
@@ -31,7 +31,7 @@ const entity: Entity = {
metadata: {
name: 'backstage',
annotations: {
[LOCATION_ANNOTATION]:
[ANNOTATION_LOCATION]:
'https://github.com/backstage/backstage/blob/master/catalog-info.yaml',
},
},