Port integration tests routes CLI to v2

Fix options signature
This commit is contained in:
Juan Font 2022-11-28 15:54:23 +00:00 committed by Kristoffer Dalby
parent 946d38e5d7
commit 52862b8a22
4 changed files with 156 additions and 168 deletions

View file

@ -521,6 +521,7 @@ func (api headscaleV1APIServer) DebugCreateMachine(
HostInfo: HostInfo(hostinfo),
}
nodeKey := key.NodePublic{}
err = nodeKey.UnmarshalText([]byte(request.GetKey()))
if err != nil {