amundsen-io / amundsen

Amundsen is a metadata driven application for improving the productivity of data analysts, data scientists and engineers when interacting with data.
https://www.amundsen.io/amundsen/
Apache License 2.0
4.34k stars 950 forks source link

fix: Do not attempt to retrieve feature lineage when it is not enabled #2221

Closed kristenarmes closed 7 months ago

kristenarmes commented 7 months ago

Description

There was a bug on the feature page where lineage was retrieved even when not enabled, throwing an error when there was nothing available at the endpoint.

Motivation and Context

Fixes errors when feature lineage is not enabled

How Has This Been Tested?

Ran the code locally and saw the feature lineage API was no longer being called after the change

Documentation

N/A

CheckList