mirror of
https://github.com/juanfont/headscale.git
synced 2024-12-26 22:25:52 -05:00
debug logging
This commit is contained in:
parent
95de823b72
commit
eda6e560c3
1
api.go
1
api.go
@ -445,6 +445,7 @@ func (h *Headscale) handleAuthKey(c *gin.Context, db *gorm.DB, idKey wgkey.Key,
|
|||||||
log.Println(err)
|
log.Println(err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
log.Printf("Assigning %s to %s", ip, m.Name)
|
||||||
|
|
||||||
m.AuthKeyID = uint(pak.ID)
|
m.AuthKeyID = uint(pak.ID)
|
||||||
m.IPAddress = ip.String()
|
m.IPAddress = ip.String()
|
||||||
|
Loading…
Reference in New Issue
Block a user