diff options
| author | Michal Rostecki <michal.rostecki@gmail.com> | 2016-05-06 10:19:21 +0200 |
|---|---|---|
| committer | Michal Rostecki <michal.rostecki@gmail.com> | 2016-05-06 10:19:21 +0200 |
| commit | 6654cb1682d4dfa120a8196dfe93b1a120923909 (patch) | |
| tree | a4a59ae336184ff19eec5a872155b911c69506bd /kolla | |
| parent | 902456406640975b63685e3abc99ec95de336c17 (diff) | |
| download | kolla-6654cb1682d4dfa120a8196dfe93b1a120923909.tar.gz kolla-6654cb1682d4dfa120a8196dfe93b1a120923909.zip | |
Add images from profile as matched only if no regex is used
Change-Id: I053e54c54883318dfc7daa64a58276487805de66
Closes-Bug: 1578955
Diffstat (limited to 'kolla')
| -rwxr-xr-x | kolla/cmd/build.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kolla/cmd/build.py b/kolla/cmd/build.py index b305ffd7b..9b818cb1d 100755 --- a/kolla/cmd/build.py +++ b/kolla/cmd/build.py @@ -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, |
