Merge "Skips a debug log during image build"

This commit is contained in:
Jenkins 2016-08-18 03:08:45 +00:00 committed by Gerrit Code Review
commit 9a7e4c1592

View File

@ -791,7 +791,9 @@ class KollaWorker(object):
installation = dict()
# NOTE(jeffrey4l): source is not needed when the type is None
if self.conf._get('type', self.conf._get_group(section)) is None:
LOG.debug('No source location found in section %s', section)
if image.parent_name is None:
LOG.debug('No source location found in section %s',
section)
else:
installation['type'] = self.conf[section]['type']
installation['source'] = self.conf[section]['location']