breml / logstash-config

logstash-config provides a parser and abstract syntax tree (AST) for the Logstash config format, written in Go
Apache License 2.0
40 stars 10 forks source link

add Value() method to PluginAttribute struct #16

Closed imishinist closed 1 year ago

imishinist commented 1 year ago

Only for the PluginAttribute structure the Value() method was not defined and I could not get the value of the Plugin, so I added a method.

If there is no reason why the Value() method does not exist only for PluginAttribute, I would be happy to have it merged.

breml commented 1 year ago

Thanks for the contribution.