Skip to content

Commit

Permalink
Remove unused check
Browse files Browse the repository at this point in the history
Signed-off-by: Miaha Cybersec <[email protected]>
  • Loading branch information
Miaha Cybersec authored and Miaha Cybersec committed Jul 25, 2024
1 parent e71f29e commit 26db502
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions integration/patch_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,11 +212,8 @@ func patch(t *testing.T, ref, patchedTag, path string, ignoreErrors bool, report
cmd.Env = append(cmd.Env, dockerDINDAddress.env()...)

out, err := cmd.CombinedOutput()
if strings.Contains(ref, "oracle") {
assert.Contains(t, string(out), "oraclelinux")
} else {
require.NoError(t, err, string(out))
}

require.NoError(t, err, string(out))
}

func scanner() *scannerCmd {
Expand Down

0 comments on commit 26db502

Please sign in to comment.