Add images from profile as matched only if no regex is used

Change-Id: I053e54c54883318dfc7daa64a58276487805de66
Closes-Bug: 1578955
This commit is contained in:
Michal Rostecki 2016-05-06 10:19:21 +02:00
parent 9024564066
commit 6654cb1682

View File

@ -521,8 +521,7 @@ class KollaWorker(object):
if self.regex:
filter_ += self.regex
if self.conf.profile:
elif self.conf.profile:
for profile in self.conf.profile:
if profile not in self.conf.profiles:
self.conf.register_opt(cfg.ListOpt(profile,