Make the dockerfilebuild error checking less harsh
This commit is contained in:
parent
463a3c55c3
commit
5744f0f888
1 changed files with 1 additions and 2 deletions
|
@ -41,8 +41,7 @@ def matches_system_error(status_str):
|
||||||
""" Returns true if the given status string matches a known system error in the
|
""" Returns true if the given status string matches a known system error in the
|
||||||
Docker builder.
|
Docker builder.
|
||||||
"""
|
"""
|
||||||
KNOWN_MATCHES = ['lxc-start: invalid', 'lxc-start: failed to', 'lxc-start: Permission denied',
|
KNOWN_MATCHES = ['lxc-start: invalid', 'lxc-start: failed to', 'lxc-start: Permission denied']
|
||||||
'lxc-start: The container failed']
|
|
||||||
|
|
||||||
for match in KNOWN_MATCHES:
|
for match in KNOWN_MATCHES:
|
||||||
# 10 because we might have a Unix control code at the start.
|
# 10 because we might have a Unix control code at the start.
|
||||||
|
|
Reference in a new issue