Skip to content

Commit

Permalink
fix(ingest): always send correct data for advanced section (datahub-p…
Browse files Browse the repository at this point in the history
  • Loading branch information
anshbansal authored Nov 26, 2024
1 parent 1ba1b2c commit fbc9851
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,9 @@ export const IngestionSourceList = () => {

const formatExtraArgs = (extraArgs): StringMapEntryInput[] => {
if (extraArgs === null || extraArgs === undefined) return [];
return extraArgs.map((entry) => ({ key: entry.key, value: entry.value }));
return extraArgs
.filter((entry) => entry.value !== null && entry.value !== undefined && entry.value !== '')
.map((entry) => ({ key: entry.key, value: entry.value }));
};

const createOrUpdateIngestionSource = (
Expand Down

0 comments on commit fbc9851

Please sign in to comment.