Skip to content

Commit

Permalink
Fix linter issue
Browse files Browse the repository at this point in the history
  • Loading branch information
hslatman committed Nov 19, 2024
1 parent 197aa54 commit 4d95de7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/testutils/testutils.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func NewCrowdSecContainer(t *testing.T, ctx context.Context) *container {
})
require.NoError(t, err)
require.NotNil(t, c)
t.Cleanup(func() { c.Terminate(ctx) })
t.Cleanup(func() { _ = c.Terminate(ctx) })

endpointPort, err := c.MappedPort(ctx, "8080/tcp")
require.NoError(t, err)
Expand Down Expand Up @@ -102,7 +102,7 @@ func NewAppSecContainer(t *testing.T, ctx context.Context) *container {
})
require.NoError(t, err)
require.NotNil(t, c)
t.Cleanup(func() { c.Terminate(ctx) })
t.Cleanup(func() { _ = c.Terminate(ctx) })

code, reader, err := c.Exec(ctx, []string{"cscli", "collections", "install", "crowdsecurity/appsec-virtual-patching"})
require.NoError(t, err)
Expand Down

0 comments on commit 4d95de7

Please sign in to comment.