summaryrefslogtreecommitdiff
path: root/docs/proposals
diff options
context:
space:
mode:
authorTianTianBigWang <zilong.wang@daocloud.io>2021-09-03 10:51:45 +0800
committerTianTianBigWang <tiantianbigwang@gmail.com>2021-09-03 11:05:15 +0800
commit607f37645e570f54ae36105d556e4150f3067520 (patch)
treea61415506ebc2ff04a470d2c80c2e7378fd0c86d /docs/proposals
parentMerge pull request #3109 from hdf15804299051/master (diff)
downloadkubeedge-607f37645e570f54ae36105d556e4150f3067520.tar.gz
fix modbus slaveID cannot be 0
Signed-off-by: TianTianBigWang <tiantianbigwang@gmail.com>
Diffstat (limited to 'docs/proposals')
-rw-r--r--docs/proposals/device-management-enhance.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/proposals/device-management-enhance.md b/docs/proposals/device-management-enhance.md
index df9e8d3f2..0c2d37105 100644
--- a/docs/proposals/device-management-enhance.md
+++ b/docs/proposals/device-management-enhance.md
@@ -118,7 +118,7 @@ type ProtocolConfig struct {
type ProtocolConfigModbus struct {
// Required. 0-255
- SlaveID int64 `json:"slaveID,omitempty"`
+ SlaveID *int64 `json:"slaveID,omitempty"`
}
// Only one of COM or TCP may be specified.