Make the dockerfilebuild error checking less harsh

This commit is contained in:
Joseph Schorr 2014-08-28 16:07:56 -04:00
parent 463a3c55c3
commit 5744f0f888

View file

@ -41,8 +41,7 @@ def matches_system_error(status_str):
""" Returns true if the given status string matches a known system error in the
Docker builder.
"""
KNOWN_MATCHES = ['lxc-start: invalid', 'lxc-start: failed to', 'lxc-start: Permission denied',
'lxc-start: The container failed']
KNOWN_MATCHES = ['lxc-start: invalid', 'lxc-start: failed to', 'lxc-start: Permission denied']
for match in KNOWN_MATCHES:
# 10 because we might have a Unix control code at the start.