Skip to content
This repository was archived by the owner on May 12, 2021. It is now read-only.

Commit c2e0437

Browse files
committed
lint: Update code to handle lint issues
Update code to handle lint issues after golangci-lint update to v1.6.0. Fixes: #527 Signed-off-by: Hui Zhu <teawater@hyper.sh>
1 parent 828b417 commit c2e0437

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

grpc_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -869,7 +869,7 @@ func TestPosixRlimitsToRlimits(t *testing.T) {
869869
assert := assert.New(t)
870870

871871
expectedRlimits := []configs.Rlimit{
872-
{unix.RLIMIT_CPU, 100, 120},
872+
{int(unix.RLIMIT_CPU), 100, 120},
873873
{unix.RLIMIT_FSIZE, 100, 120},
874874
{unix.RLIMIT_DATA, 100, 120},
875875
{unix.RLIMIT_STACK, 100, 120},

0 commit comments

Comments
 (0)