summaryrefslogtreecommitdiffstats
path: root/src/exporting/graphite/graphite.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/exporting/graphite/graphite.c')
-rw-r--r--src/exporting/graphite/graphite.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/exporting/graphite/graphite.c b/src/exporting/graphite/graphite.c
index 1fc1f2b04..a54339892 100644
--- a/src/exporting/graphite/graphite.c
+++ b/src/exporting/graphite/graphite.c
@@ -19,12 +19,10 @@ int init_graphite_instance(struct instance *instance)
struct simple_connector_data *connector_specific_data = callocz(1, sizeof(struct simple_connector_data));
instance->connector_specific_data = connector_specific_data;
-#ifdef ENABLE_HTTPS
connector_specific_data->ssl = NETDATA_SSL_UNSET_CONNECTION;
if (instance->config.options & EXPORTING_OPTION_USE_TLS) {
netdata_ssl_initialize_ctx(NETDATA_SSL_EXPORTING_CTX);
}
-#endif
instance->start_batch_formatting = NULL;
instance->start_host_formatting = format_host_labels_graphite_plaintext;