1
0
mirror of https://github.com/lxc/incus.git synced 2026-02-05 09:46:19 +01:00

shared/ws: Make golangci-lint clean

Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
This commit is contained in:
Stéphane Graber
2025-03-28 21:06:33 -04:00
parent 3217831e7c
commit e00216ec8b

View File

@@ -9,6 +9,6 @@ import (
// Upgrader is a websocket upgrader which ignores the request Origin.
var Upgrader = websocket.Upgrader{
CheckOrigin: func(r *http.Request) bool { return true },
CheckOrigin: func(_ *http.Request) bool { return true },
HandshakeTimeout: time.Second * 5,
}