Fixed linting issues

This commit is contained in:
Juan Font Alonso 2022-04-30 23:48:28 +02:00
parent 5403f215bc
commit 01d9a2f589
2 changed files with 3 additions and 2 deletions

View file

@ -122,7 +122,7 @@ func (h *Headscale) DERPHandler(ctx *gin.Context) {
if !fastStart {
pubKey := h.privateKey.Public()
pubKeyStr := pubKey.UntypedHexString() // nolint
pubKeyStr := pubKey.UntypedHexString()
fmt.Fprintf(conn, "HTTP/1.1 101 Switching Protocols\r\n"+
"Upgrade: DERP\r\n"+
"Connection: Upgrade\r\n"+