Skip to content

Commit

Permalink
Add new seccomp warning text to ignore pattern. (#1050)
Browse files Browse the repository at this point in the history
Recent versions of docker give a slightly different seccomp warning.
  • Loading branch information
nuclearsandwich committed May 24, 2024
1 parent 20d27ed commit 0b97c90
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ try {
r = build.getLogReader()
br = new BufferedReader(r)
pattern = Pattern.compile(".*WARNING:.*")
ignore_pattern = Pattern.compile(".*WARNING: (You're not using the default seccomp profile|No swap limit support).*")
ignore_pattern = Pattern.compile(".*WARNING: (You're not using the default seccomp profile|daemon is not using the default seccomp profile|No swap limit support).*")
def warnings = []
def line
while ((line = br.readLine()) != null) {
Expand Down

0 comments on commit 0b97c90

Please sign in to comment.