bundles/telegraf: it's "command" for execd, not "commands", because ... who knows
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2021-05-19 20:50:18 +02:00
parent df192e543b
commit e54135b014
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -65,7 +65,7 @@ for config in sorted(node.metadata.get('telegraf/input_plugins/exec', {}).values
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']:
telegraf_config['inputs']['execd'] = []