mirror of
https://github.com/juanfont/headscale.git
synced 2025-01-29 11:15:58 -05:00
00ff288f0c
Added a new function `RegisterMethodToV1Enum()` to Node, converting the internal register method string to the corresponding V1 Enum value. Included corresponding unit test in `node_test.go` to ensure correct conversion for various register methods.