Skip to content

Commit 91199ca

Browse files
authored
Merge pull request #75 from jarretlavallee/gh-73
(gh-73) Append - to the metric command for json2timeseriesdb
2 parents b755455 + 7f15bde commit 91199ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manifests/pe_metric.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
fail('When specifying an InfluxDB metrics server, you must specify a metrics server db_name')
6565
}
6666

67-
$conv_metrics_command = "${base_metrics_command} | ${conversion_script_file_path} --netcat ${server_hostname} --convert-to ${server_type}"
67+
$conv_metrics_command = "${base_metrics_command} | ${conversion_script_file_path} --netcat ${server_hostname} --convert-to ${server_type} -"
6868

6969
$full_metrics_command = empty($server_port) ? {
7070
false => "${conv_metrics_command} --port ${server_port}",

0 commit comments

Comments
 (0)