Skip to content

Commit a939b3b

Browse files
committed
minor change
1 parent 17fdc8e commit a939b3b

File tree

1 file changed

+1
-2
lines changed
  • metadata-ingestion/src/datahub/ingestion/source

1 file changed

+1
-2
lines changed

metadata-ingestion/src/datahub/ingestion/source/vertexai.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -621,8 +621,7 @@ def _search_endpoint(self, model: Model) -> List[Endpoint]:
621621
endpoint_dict[resource.model].append(endpoint)
622622
self.endpoints = endpoint_dict
623623

624-
endpoints = self.endpoints.get(model.resource_name, [])
625-
return endpoints
624+
return self.endpoints.get(model.resource_name, [])
626625

627626
def _make_ml_model_urn(self, model_version: VersionInfo, model_name: str) -> str:
628627
urn = builder.make_ml_model_urn(

0 commit comments

Comments
 (0)