bundles/telegraf: it's "command" for execd, not "commands", because ... who knows
All checks were successful
bundlewrap/pipeline/head This commit looks good
All checks were successful
bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
df192e543b
commit
e54135b014
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ for config in sorted(node.metadata.get('telegraf/input_plugins/exec', {}).values
|
||||||
|
|
||||||
telegraf_config['inputs']['exec'].append(config)
|
telegraf_config['inputs']['exec'].append(config)
|
||||||
|
|
||||||
for config in sorted(node.metadata.get('telegraf/input_plugins/execd', {}).values(), key=lambda c: ''.join(c['commands'])):
|
for config in sorted(node.metadata.get('telegraf/input_plugins/execd', {}).values(), key=lambda c: ''.join(c['command'])):
|
||||||
if 'execd' not in telegraf_config['inputs']:
|
if 'execd' not in telegraf_config['inputs']:
|
||||||
telegraf_config['inputs']['execd'] = []
|
telegraf_config['inputs']['execd'] = []
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue