mirror of https://github.com/docker/docs.git
Merge pull request #2360 from shin-/2357-http_timeout_exit_1
Use exit code 1 when encountering a ReadTimeout
This commit is contained in:
commit
2c2b8a8322
|
|
@ -80,6 +80,7 @@ def main():
|
||||||
"If you encounter this issue regularly because of slow network conditions, consider setting "
|
"If you encounter this issue regularly because of slow network conditions, consider setting "
|
||||||
"COMPOSE_HTTP_TIMEOUT to a higher value (current value: %s)." % HTTP_TIMEOUT
|
"COMPOSE_HTTP_TIMEOUT to a higher value (current value: %s)." % HTTP_TIMEOUT
|
||||||
)
|
)
|
||||||
|
sys.exit(1)
|
||||||
|
|
||||||
|
|
||||||
def setup_logging():
|
def setup_logging():
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue