mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2025-03-30 19:54:46 +00:00
Split out resolving of node name (of the node to be updated) into a separate function. Makes it possible to add unit tests. Also. do unconditional type casting in the handler functions – that shouldn't fail unless there is a really serious internal inconsistency in the codebase so it should be ok to panic. |
||
---|---|---|
.. | ||
nfd-api-controller.go | ||
nfd-api-controller_test.go | ||
nfd-master-internal_test.go | ||
nfd-master.go | ||
nfd-master_test.go |