acquire-project / acquire-common

Core libraries, runtime, and common devices driver for Acquire
Apache License 2.0
0 stars 8 forks source link

device_manager_validate_identifier #25

Open nclack opened 1 year ago

nclack commented 1 year ago

In acquire-project/acquire-core-libs#6, I deleted a block of code that was doing identifier validation (in storage_validate).

The validation part is a good idea, but we were using device_manager_select to do it, resulting in some undesired log messages. Really it would be better to have a dedicated validation function and use that more broadly during configuration for validating device selection.

It should basically go through calling describe and confirm the type looks right.