Skip to content

Commit 6cf5550

Browse files
committed
Remove unnecessary linter exceptions
1 parent d23f187 commit 6cf5550

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

transport/tlscommon/types.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ func (m *TLSClientAuth) Unpack(in interface{}) error {
231231
case uint64:
232232
*m = TLSClientAuth(o) //nolint:gosec // o is much smaller than max int
233233
case int64: // underlying type is int so we need both uint64 and int64 as options for TLSClientAuth
234-
*m = TLSClientAuth(o) //nolint:gosec // o is much smaller than max int
234+
*m = TLSClientAuth(o)
235235
default:
236236
return fmt.Errorf("client auth mode is an unknown type: %T", o)
237237
}
@@ -320,7 +320,7 @@ func (r *TLSRenegotiationSupport) Unpack(i interface{}) error {
320320

321321
*r = t
322322
case int64:
323-
*r = TLSRenegotiationSupport(o) //nolint:gosec // o is much smaller than max int
323+
*r = TLSRenegotiationSupport(o)
324324
case uint64:
325325
*r = TLSRenegotiationSupport(o) //nolint:gosec // o is much smaller than max int
326326
default:

0 commit comments

Comments
 (0)