diff --git a/plugins/inputs/modbus/type_conversions.go b/plugins/inputs/modbus/type_conversions.go index 16eb3f20ea353..f8e9f99ce8009 100644 --- a/plugins/inputs/modbus/type_conversions.go +++ b/plugins/inputs/modbus/type_conversions.go @@ -87,7 +87,6 @@ func determineConverterNoScale(inType, byteOrder, outType string) (fieldConverte return determineConverterF64(outType, byteOrder) case "STRING": return determineConverterString(byteOrder) - } return nil, fmt.Errorf("invalid input data-type: %s", inType) }