You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by cd...@apache.org on 2020/10/08 14:28:44 UTC
[plc4x] branch feature/plc4go updated: - Renamed the "error" field
"errorFlag" as "error" is a type in Go
This is an automated email from the ASF dual-hosted git repository.
cdutz pushed a commit to branch feature/plc4go
in repository https://gitbox.apache.org/repos/asf/plc4x.git
The following commit(s) were added to refs/heads/feature/plc4go by this push:
new 7aecbf4 - Renamed the "error" field "errorFlag" as "error" is a type in Go
7aecbf4 is described below
commit 7aecbf491b6eee515f7f656ede22cf415ef77684
Author: Christofer Dutz <ch...@c-ware.de>
AuthorDate: Thu Oct 8 16:28:37 2020 +0200
- Renamed the "error" field "errorFlag" as "error" is a type in Go
---
protocols/modbus/src/main/resources/protocols/modbus/modbus.mspec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/protocols/modbus/src/main/resources/protocols/modbus/modbus.mspec b/protocols/modbus/src/main/resources/protocols/modbus/modbus.mspec
index ad6a75b..a3f3f55 100644
--- a/protocols/modbus/src/main/resources/protocols/modbus/modbus.mspec
+++ b/protocols/modbus/src/main/resources/protocols/modbus/modbus.mspec
@@ -56,9 +56,9 @@
]
[discriminatedType 'ModbusPDU' [bit 'response']
- [discriminator bit 'error']
+ [discriminator bit 'errorFlag']
[discriminator uint 7 'function']
- [typeSwitch 'error','function','response'
+ [typeSwitch 'errorFlag','function','response'
['true' ModbusPDUError
[simple uint 8 'exceptionCode']
]