diff options
author | Costa Tsaousis <costa@tsaousis.gr> | 2018-09-22 02:18:25 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-22 02:18:25 +0300 |
commit | 28c86af806f4daf115c14637afa1d789111cad89 (patch) | |
tree | 963e27af00dc4db9d6145e7357e232c620dc958a | |
parent | 04ee49192be12c3167b03b91dfda1ca832ec7501 (diff) | |
parent | 3b0dd08b76ba312fe83c199d55aa36826c008c18 (diff) |
Merge pull request #4245 from ktsaou/master
fixed typo in prometheus_all_hosts output
-rwxr-xr-x | coverity-scan.sh | 2 | ||||
-rw-r--r-- | src/web_api_v1.c | 18 |
2 files changed, 17 insertions, 3 deletions
diff --git a/coverity-scan.sh b/coverity-scan.sh index d39f9b246a..c9eb2e6214 100755 --- a/coverity-scan.sh +++ b/coverity-scan.sh @@ -38,7 +38,7 @@ make clean || exit 1 echo >&2 "Compressing data..." tar czvf netdata-coverity-analysis.tgz cov-int || exit 1 -echo >&2 "Sending analysis..." +echo >&2 "Sending analysis for version ${version} ..." curl --progress-bar --form token="${token}" \ --form email=costa@tsaousis.gr \ --form file=@netdata-coverity-analysis.tgz \ diff --git a/src/web_api_v1.c b/src/web_api_v1.c index 7cd108ca99..3c9285198f 100644 --- a/src/web_api_v1.c +++ b/src/web_api_v1.c @@ -335,12 +335,26 @@ inline int web_client_api_request_v1_allmetrics(RRDHOST *host, struct web_client case ALLMETRICS_PROMETHEUS: w->response.data->contenttype = CT_PROMETHEUS; - rrd_stats_api_v1_charts_allmetrics_prometheus_single_host(host, w->response.data, prometheus_server, prometheus_prefix, prometheus_backend_options, prometheus_output_options); + rrd_stats_api_v1_charts_allmetrics_prometheus_single_host( + host + , w->response.data + , prometheus_server + , prometheus_prefix + , prometheus_backend_options + , prometheus_output_options + ); return 200; case ALLMETRICS_PROMETHEUS_ALL_HOSTS: w->response.data->contenttype = CT_PROMETHEUS; - rrd_stats_api_v1_charts_allmetrics_prometheus_all_hosts(host, w->response.data, prometheus_server, prometheus_prefix, prometheus_backend_options, prometheus_backend_options); + rrd_stats_api_v1_charts_allmetrics_prometheus_all_hosts( + host + , w->response.data + , prometheus_server + , prometheus_prefix + , prometheus_backend_options + , prometheus_output_options + ); return 200; default: |