Skip to content

Commit

Permalink
No need to whitelist known fields
Browse files Browse the repository at this point in the history
  • Loading branch information
sabarasaba committed Jul 16, 2021
1 parent db098dc commit 7e399a3
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -153,12 +153,9 @@ export const PipelineProcessorsContextProvider: FunctionComponent<Props> = ({
// These are the option names we get back from our UI
const knownOptionNames = [
...Object.keys(processorTypeAndOptions.options),

// We manually add fields that we **don't** want to be treated as "unknownOptions"
'internal_networks',
'internal_networks_field',
'transport',
'iana_number',
];

// The processor that we are updating may have options configured the UI does not know about
Expand Down

0 comments on commit 7e399a3

Please sign in to comment.