summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2019-02-06 07:45:53 +0000
committerGerrit Code Review <review@openstack.org>2019-02-06 07:45:53 +0000
commitc6625e9aed1ed56c58dde7168f731494d90b9f23 (patch)
tree85eaae95488dd49d613d0500086aab908f0a8bcf
parentbaa611e552319325e0eb1909ee14eb008e154ebd (diff)
parent63e5e4d65895616cce29d73e4cf08a876a6db83e (diff)
Merge "build: exit if there is no Docker connection"
-rwxr-xr-xkolla/image/build.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/kolla/image/build.py b/kolla/image/build.py
index 8e136b4..eb5512d 100755
--- a/kolla/image/build.py
+++ b/kolla/image/build.py
@@ -744,7 +744,9 @@ class KollaWorker(object):
744 or conf.save_dependency 744 or conf.save_dependency
745 or conf.list_images 745 or conf.list_images
746 or conf.list_dependencies): 746 or conf.list_dependencies):
747 raise e 747 LOG.error("Unable to connect to Docker, exiting")
748 LOG.info("Exception caught: {0}".format(e))
749 sys.exit(1)
748 750
749 def _get_images_dir(self): 751 def _get_images_dir(self):
750 possible_paths = ( 752 possible_paths = (