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
Some of the telegraf inputs don't have many options and have good defaults (haproxy for example.) In the case of these type of modules, it'd be nice to be able to specify an input with just a plugin_type. If options isn't passed the input template fails to apply when it tries to iterate over the empty options hash.
The text was updated successfully, but these errors were encountered:
This commit fixes the error to do with qualifying the `options` variable
when undef'd. This allows for an input to be defined with just a
`plugin_type`.
It also adds a test for this behaviour.
Fixes#24.
This commit fixes the error to do with qualifying the `options` variable
when undef'd. This allows for an input to be defined with just a
`plugin_type`.
It also adds a test for this behaviour.
Fixes#24.
Some of the telegraf inputs don't have many options and have good defaults (haproxy for example.) In the case of these type of modules, it'd be nice to be able to specify an input with just a plugin_type. If options isn't passed the input template fails to apply when it tries to iterate over the empty options hash.
The text was updated successfully, but these errors were encountered: