From 5e0b28c09e7a7635a2e86b079d3c8c2cd31ff9be Mon Sep 17 00:00:00 2001 From: "M. Sz" Date: Mon, 23 Nov 2020 18:16:56 +0100 Subject: [PATCH] "fixed" lint error --- .../d2client/d2remoteclient/remote_client_connection.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/d2networking/d2client/d2remoteclient/remote_client_connection.go b/d2networking/d2client/d2remoteclient/remote_client_connection.go index 84875a45..9f47744e 100644 --- a/d2networking/d2client/d2remoteclient/remote_client_connection.go +++ b/d2networking/d2client/d2remoteclient/remote_client_connection.go @@ -182,7 +182,7 @@ func (r *RemoteClientConnection) bytesToJSON(buffer []byte) (string, d2netpacket // decodeToPacket unmarshals the JSON string into the correct struct // and returns a NetPacket declaring that struct. -// nolint:gocyclo // switch statement on packet type makes sense, no need to change +// nolint:gocyclo,funlen // switch statement on packet type makes sense, no need to change func (r *RemoteClientConnection) decodeToPacket( t d2netpackettype.NetPacketType, data string) (d2netpacket.NetPacket, error) {