Skip to content

Conversation

@leonnicolas
Copy link
Owner

Sometimes human readable label names are longer than allowed in
kubernetes. This commit will fall back to the hex encoded vendor and
device IDs.
Additionally it will fall back if the device name could not be found in
the usbid.Vendor map.
Lastly some small unit test for the label key creation is added and some
refactoring to make that possible.

Sometimes human readable label names are longer than allowed in
kubernetes. This commit will fall back to the hex encoded vendor and
device IDs.
Additionally it will fall back if the device name could not be found in
the `usbid.Vendor` map.
Lastly some small unit test for the label key creation is added and some
refactoring to make that possible.
@leonnicolas
Copy link
Owner Author

leonnicolas commented Feb 14, 2025

should solve #13

@leonnicolas leonnicolas merged commit 4ea2dc4 into main Feb 14, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants