Skip to content

Commit

Permalink
Fix adding duplicate tags
Browse files Browse the repository at this point in the history
  • Loading branch information
dkubek committed Feb 29, 2024
1 parent 84b1735 commit af0d1df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion leapp/workflows/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def __init__(self, logger=None, auto_reboot=False):
self.description = self.description or type(self).__doc__

for phase in self.phases:
phase.filter.tags += (self.tag,)
phase.filter.tags += (self.tag,) if self.tag not in phase.filter.tags else ()
self._phase_actors.append((
phase,
# filters all actors with the give tags
Expand Down

0 comments on commit af0d1df

Please sign in to comment.