diff --git a/kolla/cmd/build.py b/kolla/cmd/build.py index b305ffd7b4..9b818cb1de 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,