Make sure givenname is set for preauthkeys

This commit is contained in:
Kristoffer Dalby 2022-05-17 22:02:18 +02:00
parent 9ebeb3d7e4
commit 802eb931d1
2 changed files with 15 additions and 0 deletions

View file

@ -356,6 +356,8 @@ func (s *IntegrationDERPTestSuite) TestPingAllPeersByHostname() {
hostnames, err := getDNSNames(&s.headscale)
assert.Nil(s.T(), err)
log.Printf("Hostnames: %#v\n", hostnames)
for hostname, tailscale := range s.tailscales {
for _, peername := range hostnames {
if strings.Contains(peername, hostname) {