mirror of
https://github.com/juanfont/headscale.git
synced 2025-11-03 14:32:39 +09:00
Address a bunch of golint warnings.
This commit is contained in:
2
api.go
2
api.go
@@ -104,7 +104,7 @@ func (h *Headscale) RegistrationHandler(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
log.Println("Hey! Not registered. Not asking for key rotation. Send a passive-agressive authurl to register")
|
||||
log.Println("Hey! Not registered. Not asking for key rotation. Send a passive-aggressive authurl to register")
|
||||
resp.AuthURL = fmt.Sprintf("%s/register?key=%s",
|
||||
h.cfg.ServerURL, mKey.HexString())
|
||||
respBody, err := encode(resp, &mKey, h.privateKey)
|
||||
|
||||
Reference in New Issue
Block a user