Skip to content
Snippets Groups Projects
Commit 659fc87c authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Device component:

- Removed workaround
parent 250697bb
No related branches found
No related tags found
2 merge requests!54Release 2.0.0,!45Bug fixes and improvements related to device configuration and monitoring
......@@ -91,12 +91,6 @@ class DeviceServiceServicerImpl(DeviceServiceServicer):
device_with_uuids = context_client.GetDevice(device_id)
populate_endpoint_monitoring_resources(device_with_uuids, self.monitoring_loops)
# TODO: remove next temporary workaround when issue with Automation component is resolved
device_with_uuids_2 = Device()
device_with_uuids_2.CopyFrom(device_with_uuids)
device_with_uuids_2.device_operational_status = DeviceOperationalStatusEnum.DEVICEOPERATIONALSTATUS_ENABLED
device_id = context_client.SetDevice(device_with_uuids_2)
return device_id
finally:
self.mutex_queues.signal_done(device_uuid)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment