Fix bug in preauthkeys: namespace object was not populated in the return

value from CreatePreAuthKey and GetPreAuthKeys. Add tests for that bug,
and the rest of the preauthkeys functionality.

Fix path in `compress` Makefile target.
This commit is contained in:
Ward Vandewege 2021-05-02 14:47:36 -04:00
parent 68c21faf64
commit b34e90c45d
7 changed files with 94 additions and 7 deletions

View file

@ -20,5 +20,5 @@ lint:
golangci-lint run
compress: build
upx --brute cmd/headscale/headscale
upx --brute headscale