From 3b133ed05b59c0374c09aa6973c5732858d0dd9d Mon Sep 17 00:00:00 2001 From: Joshua Powers Date: Thu, 22 Feb 2024 13:06:32 -0500 Subject: [PATCH] docs(inputs.modbus): Remove extra comma (#14883) --- plugins/inputs/modbus/README.md | 2 +- plugins/inputs/modbus/sample_metric.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/inputs/modbus/README.md b/plugins/inputs/modbus/README.md index 9983d84e2..ce0e59764 100644 --- a/plugins/inputs/modbus/README.md +++ b/plugins/inputs/modbus/README.md @@ -305,7 +305,7 @@ See the [CONFIGURATION.md][CONFIGURATION.md] for more details. { register="coil", address=1, name="status_ok"}, { register="holding", address=0, name="voltage", type="INT16" }, { address=1, name="current", type="INT32", scale=0.001 }, - { address=5, name="energy", type="FLOAT32", scale=0.001,}, + { address=5, name="energy", type="FLOAT32", scale=0.001 }, { address=7, name="frequency", type="UINT32", scale=0.1 }, { address=8, name="power_factor", type="INT64", scale=0.01 }, { address=9, name="firmware", type="STRING", length=8 }, diff --git a/plugins/inputs/modbus/sample_metric.conf b/plugins/inputs/modbus/sample_metric.conf index 5eb10979b..8f0de7aa6 100644 --- a/plugins/inputs/modbus/sample_metric.conf +++ b/plugins/inputs/modbus/sample_metric.conf @@ -59,7 +59,7 @@ { register="coil", address=1, name="status_ok"}, { register="holding", address=0, name="voltage", type="INT16" }, { address=1, name="current", type="INT32", scale=0.001 }, - { address=5, name="energy", type="FLOAT32", scale=0.001,}, + { address=5, name="energy", type="FLOAT32", scale=0.001 }, { address=7, name="frequency", type="UINT32", scale=0.1 }, { address=8, name="power_factor", type="INT64", scale=0.01 }, { address=9, name="firmware", type="STRING", length=8 },