summaryrefslogtreecommitdiffstats
path: root/backends/prometheus
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-03-31 12:59:21 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-03-31 12:59:21 +0000
commitbb8713bbc1c4594366fc735c04910edbf4c61aab (patch)
treed7da56c0b89aa371dd8ad986995dd145fdf6670a /backends/prometheus
parentReleasing debian version 1.29.3-4. (diff)
downloadnetdata-bb8713bbc1c4594366fc735c04910edbf4c61aab.tar.xz
netdata-bb8713bbc1c4594366fc735c04910edbf4c61aab.zip
Merging upstream version 1.30.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'backends/prometheus')
-rw-r--r--backends/prometheus/backend_prometheus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/prometheus/backend_prometheus.c b/backends/prometheus/backend_prometheus.c
index a3ecf16ef..1fb3fd42c 100644
--- a/backends/prometheus/backend_prometheus.c
+++ b/backends/prometheus/backend_prometheus.c
@@ -545,7 +545,7 @@ inline static void remote_write_split_words(char *str, char **words, int max_wor
int i = 0;
while(*s && i < max_words - 1) {
- while(*s && isspace(*s)) s++; // skip spaces to the begining of a tag name
+ while(*s && isspace(*s)) s++; // skip spaces to the beginning of a tag name
if(*s)
words[i] = s;
@@ -560,7 +560,7 @@ inline static void remote_write_split_words(char *str, char **words, int max_wor
s++;
i++;
- while(*s && isspace(*s)) s++; // skip spaces to the begining of a tag value
+ while(*s && isspace(*s)) s++; // skip spaces to the beginning of a tag value
if(*s && *s == '"') s++; // strip an opening quote
if(*s)