mirror of
https://github.com/thingsboard/thingsboard-gateway
synced 2025-10-26 22:31:42 +08:00
Fixed OPC-UA connector type resolving
This commit is contained in:
@@ -762,6 +762,11 @@ class TBGatewayService:
|
||||
try:
|
||||
connector_persistent_key = None
|
||||
connector_type = connector["type"].lower() if connector.get("type") is not None else None
|
||||
|
||||
# can be removed in future releases
|
||||
if connector_type == 'opcua':
|
||||
connector_type = 'opcua_asyncio'
|
||||
|
||||
if connector_type is None:
|
||||
log.error("Connector type is not defined!")
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user