mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-10-27 16:55:06 +00:00
Update IngestionResource.java (#1163)
added fieldParam as owner as it was giving an error `invalid field name`
This commit is contained in:
parent
6c18bf5d3b
commit
2a3645577b
@ -325,7 +325,7 @@ public class IngestionResource {
|
||||
})
|
||||
public Ingestion triggerIngestion(@Context UriInfo uriInfo, @PathParam("id") String id,
|
||||
@Context SecurityContext securityContext) throws IOException, ParseException {
|
||||
Fields fields = new Fields(FIELD_LIST, "");
|
||||
Fields fields = new Fields(FIELD_LIST, "owner");
|
||||
Ingestion ingestion = dao.get(uriInfo, id, fields);
|
||||
airflowRESTClient.runPipeline(ingestion.getName());
|
||||
return addHref(uriInfo, dao.get(uriInfo, id, fields));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user