Skip to content
Snippets Groups Projects
Commit 6654cb16 authored by Michal Rostecki's avatar Michal Rostecki
Browse files

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

Change-Id: I053e54c54883318dfc7daa64a58276487805de66
Closes-Bug: 1578955
parent 90245640
No related branches found
No related tags found
No related merge requests found
...@@ -521,8 +521,7 @@ class KollaWorker(object): ...@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment