1
0
mirror of https://github.com/juanfont/headscale.git synced 2025-09-16 17:50:44 +02:00

Fixed errors in files according to golangci-lint rules

This commit is contained in:
hopleus 2024-10-17 14:56:12 +03:00
parent 220ad11f5a
commit dbd14deb40

View File

@ -202,7 +202,7 @@ func (s *Suite) TestListPeersWithoutNonAuthorized(c *check.C) {
} }
node := types.Node{ node := types.Node{
ID: types.NodeID(uint64(index)), // nolint:g115 ID: types.NodeID(uint64(index)), //nolint // disable G115
MachineKey: machineKey.Public(), MachineKey: machineKey.Public(),
NodeKey: nodeKey.Public(), NodeKey: nodeKey.Public(),
Hostname: "testnode" + strconv.Itoa(index), Hostname: "testnode" + strconv.Itoa(index),