Skip to content

Commit

Permalink
Fixed errors in files according to golangci-lint rules
Browse files Browse the repository at this point in the history
  • Loading branch information
hopleus committed Oct 17, 2024
1 parent eb00e61 commit 5b8b594
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hscontrol/db/node_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ func (s *Suite) TestListPeersWithoutNonAuthorized(c *check.C) {
}

node := types.Node{
ID: types.NodeID(uint64(index)), // nolint:g115
ID: types.NodeID(uint64(index)), //nolint // disable G115
MachineKey: machineKey.Public(),
NodeKey: nodeKey.Public(),
Hostname: "testnode" + strconv.Itoa(index),
Expand Down

0 comments on commit 5b8b594

Please sign in to comment.