You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.
In #1989 some changes were made to the conf parse code. In particular this commit seems to disallow any strings with [] in it. In our case, storage-aggregations has some settings like:
pattern = ^[^;]+\.max(?:;|$)
which used to parse fine and now we get:
2021-06-25 09:18:24.738 [FATAL] can't read storage-aggregation file "/etc/metrictank/storage-aggregation.conf": invalid line "pattern = ^[^;]+\\.max(?:;|$)": [ and ] are reserved for section headers and this contains additional non-section header data
If I comment out the lines from that commit, everything works as expected. Perhaps this check should only look at chars up to the first = (or the whole line if no = exists)?
Helpful Information
Metrictank Version: master
Golang Version: 1.15.11
The text was updated successfully, but these errors were encountered:
Describe the bug
In #1989 some changes were made to the conf parse code. In particular this commit seems to disallow any strings with
[]
in it. In our case, storage-aggregations has some settings like:pattern = ^[^;]+\.max(?:;|$)
which used to parse fine and now we get:
2021-06-25 09:18:24.738 [FATAL] can't read storage-aggregation file "/etc/metrictank/storage-aggregation.conf": invalid line "pattern = ^[^;]+\\.max(?:;|$)": [ and ] are reserved for section headers and this contains additional non-section header data
If I comment out the lines from that commit, everything works as expected. Perhaps this check should only look at chars up to the first
=
(or the whole line if no=
exists)?Helpful Information
Metrictank Version: master
Golang Version: 1.15.11
The text was updated successfully, but these errors were encountered: