diff options
author | Pavlos Emm. Katsoulakis <paul@netdata.rocks> | 2019-07-27 14:05:18 +0300 |
---|---|---|
committer | Pavlos Emm. Katsoulakis <paul@netdata.rocks> | 2019-07-27 14:05:18 +0300 |
commit | 97ab70f31133e3e0429b6c082d664e746314d78d (patch) | |
tree | 5888d07cfef55c6cc8a4637a625ff59d15de4e68 /streaming | |
parent | e3babcb33931b2a5b99d14d950108e9ffea0a403 (diff) |
netdata/streaming: fix bug for non-ssl installations - we used a definition that only exists on ssl-enabled installs
Diffstat (limited to 'streaming')
-rw-r--r-- | streaming/rrdpush.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/streaming/rrdpush.c b/streaming/rrdpush.c index 1763819354..c798cd1b19 100644 --- a/streaming/rrdpush.c +++ b/streaming/rrdpush.c @@ -48,7 +48,9 @@ unsigned int default_rrdpush_enabled = 0; char *default_rrdpush_destination = NULL; char *default_rrdpush_api_key = NULL; char *default_rrdpush_send_charts_matching = NULL; +#ifdef ENABLE_HTTPS int netdata_use_ssl_on_stream = NETDATA_SSL_OPTIONAL; +#endif static void load_stream_conf() { errno = 0; |