Closed jgough closed 2 years ago
That changeset seems to test comments that are prefixed with //
but logstash only supports comments prefixed with #
?
Is this related to this change? breml/logstash-config@238da34#diff-bdb49894b46c8f4d3fd4a420659e75b04a009ee30ae86c7f384975f289f42085R15
Good catch, I must have been pretty tired, when I did this change.
@jgough If you like, you can checkout #135 , which contains the fixed version of github.com/breml/logstash-config, which should resolve this issue.
Be aware, that a recent version of the Go compiler / tool chain is needed to build this, because of the updated dependencies.
I've grabbed and built that, seems to be working a lot happier now! Thanks.
Since all of the wonderful fixes since Beta 1 I thought I'd try building from master to test a few of these.
I am having difficulty with parser errors though. I don't know if I'm building it incorrectly, but the following pipeline produces an error when I use
--plugin-mock
Results in
I believe it is related to the
'
character as when I remove these it works fine. If I replace with"
it also fails. Additionally when I do not use--plugin-mock
it works just fine. I didn't have this issue with Beta 1.As I say, maybe I am building it incorrectly - in which case could you give me some pointers?
Once again a Dockerfile to repro! (let me know if these are helpful):
Run with
Once again thanks for the hard work you guys are putting into this!