summaryrefslogtreecommitdiffstats
path: root/exporting/check_filters.c
diff options
context:
space:
mode:
authorVladimir Kobal <vlad@prokk.net>2020-02-25 21:08:41 +0200
committerGitHub <noreply@github.com>2020-02-25 21:08:41 +0200
commitd79bbbf943f72495e135eee4afc25723f886592f (patch)
tree1637e6f719f9923e92bad2e5033dce6207c2b9c1 /exporting/check_filters.c
parent84421fdf0b513e9e7dc1351550b96044e92c363d (diff)
Add an AWS Kinesis connector to the exporting engine (#8145)
* Prepare files for the AWS Kinesis exporting connector * Update the documentation * Rename functions in backends * Include the connector to the Netdata buid * Add initializers and a worker * Add Kinesis specific configuration options * Add a compile time configuration check * Remove the connector data structure * Restore unit tests * Fix the compile-time configuration check * Initialize AWS SDK only once * Don't create an instance for an unknown exporting connector * Separate client and request outcome data for every instance * Fix memory cleanup, document functions * Add unit tests * Update the documentation
Diffstat (limited to 'exporting/check_filters.c')
-rw-r--r--exporting/check_filters.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/exporting/check_filters.c b/exporting/check_filters.c
index f1ed9e828c..cfe0b4ce43 100644
--- a/exporting/check_filters.c
+++ b/exporting/check_filters.c
@@ -12,7 +12,7 @@
int rrdhost_is_exportable(struct instance *instance, RRDHOST *host)
{
if (host->exporting_flags == NULL)
- host->exporting_flags = callocz(instance->connector->engine->instance_num, sizeof(size_t));
+ host->exporting_flags = callocz(instance->engine->instance_num, sizeof(size_t));
RRDHOST_FLAGS *flags = &host->exporting_flags[instance->index];
@@ -46,7 +46,7 @@ int rrdset_is_exportable(struct instance *instance, RRDSET *st)
RRDHOST *host = st->rrdhost;
if (st->exporting_flags == NULL)
- st->exporting_flags = callocz(instance->connector->engine->instance_num, sizeof(size_t));
+ st->exporting_flags = callocz(instance->engine->instance_num, sizeof(size_t));
RRDSET_FLAGS *flags = &st->exporting_flags[instance->index];