Merge "build: exit if there is no Docker connection"
This commit is contained in:
commit
c6625e9aed
@ -744,7 +744,9 @@ class KollaWorker(object):
|
||||
or conf.save_dependency
|
||||
or conf.list_images
|
||||
or conf.list_dependencies):
|
||||
raise e
|
||||
LOG.error("Unable to connect to Docker, exiting")
|
||||
LOG.info("Exception caught: {0}".format(e))
|
||||
sys.exit(1)
|
||||
|
||||
def _get_images_dir(self):
|
||||
possible_paths = (
|
||||
|
Loading…
Reference in New Issue
Block a user