chore: apply linting

This commit is contained in:
Adrien Raffin-Caboisse 2022-04-25 22:27:44 +02:00
parent 3d302441b6
commit 2c448d4a5c
No known key found for this signature in database
GPG key ID: 7FB60532DEBEAD6A
7 changed files with 24 additions and 13 deletions

View file

@ -128,7 +128,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"+