summaryrefslogtreecommitdiffstats
path: root/backends
diff options
context:
space:
mode:
authorIkko Ashimine <eltociear@gmail.com>2021-03-09 03:29:51 +0900
committerGitHub <noreply@github.com>2021-03-08 20:29:51 +0200
commit71bfcf54e3d68bec3cbfdc40d9a33b952c3d41ca (patch)
tree7096b96829db16c4c0808183592d82cbcb92a4b4 /backends
parent0a47bbdd6f44bf56e309c96d718467ef931a0b4f (diff)
Fix typo in backend_prometheus.c (#10716)
begining -> beginning
Diffstat (limited to 'backends')
-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 a3ecf16ef3..1fb3fd42cd 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)