-
Notifications
You must be signed in to change notification settings - Fork 72
Can't update the device type via inventory.json #1935
Copy link
Copy link
Closed
Labels
improvementUser valueUser value
Milestone
Description
Describe the bug
We are trying to set the device type in the inventory.json of thin-edge.io alongside other fragments. E.g.
{"type": "PumpAgent", "name": "inventoryname", "someothefragment":{}}
Expected behavior
The expected behaviour is that the type behaves here like all the other fragments on the device, i.e. that the type info from the inventory.json is used for the ManagedObject in Cumulocity.
Observed behavior
The type is ignored, instead it looks like the tedge config for device.type is always used instead.
As the inventory.json is more specific, I would have expected the entry there to take precedence
Environment (please complete the following information):
- Ubuntu 22.04
- thin-edge.io version [e.g. 0.10.0]
Thanks,
Mario
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
improvementUser valueUser value
