Add images from profile as matched only if no regex is used
Change-Id: I053e54c54883318dfc7daa64a58276487805de66 Closes-Bug: 1578955
This commit is contained in:
parent
9024564066
commit
6654cb1682
@ -521,8 +521,7 @@ class KollaWorker(object):
|
|||||||
|
|
||||||
if self.regex:
|
if self.regex:
|
||||||
filter_ += self.regex
|
filter_ += self.regex
|
||||||
|
elif self.conf.profile:
|
||||||
if self.conf.profile:
|
|
||||||
for profile in self.conf.profile:
|
for profile in self.conf.profile:
|
||||||
if profile not in self.conf.profiles:
|
if profile not in self.conf.profiles:
|
||||||
self.conf.register_opt(cfg.ListOpt(profile,
|
self.conf.register_opt(cfg.ListOpt(profile,
|
||||||
|
Loading…
Reference in New Issue
Block a user