mirror of
https://github.com/juanfont/headscale.git
synced 2024-12-24 00:37:52 +00: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.