1
0
mirror of https://github.com/netdata/netdata.git synced 2021-06-06 23:03:21 +03:00

Fix typo in backend_prometheus.c (#10716)

begining -> beginning
This commit is contained in:
Ikko Ashimine
2021-03-09 03:29:51 +09:00
committed by GitHub
parent 0a47bbdd6f
commit 71bfcf54e3

View File

@@ -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)