Skip to content

Commit

Permalink
Merge pull request thingsboard#1351 from samson0v/master
Browse files Browse the repository at this point in the history
Fixed OPC-UA connector type resolving
  • Loading branch information
imbeacon authored Mar 22, 2024
2 parents c12d0f6 + 8986a5f commit 3922e39
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions thingsboard_gateway/gateway/tb_gateway_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -762,6 +762,11 @@ def _load_connectors(self, config=None):
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
Expand Down

0 comments on commit 3922e39

Please sign in to comment.