Fixes a bug in the initializer for the enrich_kv_store_set transform. Documentation states that this is an optional parameter, but the initializing function will return an error if it's not set.
This resolved a bug where the application was inconsistent with the documentation.
How Has This Been Tested?
Validated that the config from the documentation can be loaded by the application, previously this errored during load.
sub.transform.enrich.kv_store.set(
// The value of `domain` is put into the KV store as the value of `ip`.
settings={kv_store: sub.kv_store.memory(settings={}), object: {source_key: 'ip', target_key: 'domain'}}
)
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
Description
Fixes a bug in the initializer for the
enrich_kv_store_set
transform. Documentation states that this is an optional parameter, but the initializing function will return an error if it's not set.Error received:
Motivation and Context
This resolved a bug where the application was inconsistent with the documentation.
How Has This Been Tested?
Validated that the config from the documentation can be loaded by the application, previously this errored during load.
Types of changes
Checklist: