Skip to content

Commit

Permalink
Tree: cast set into NodeSet in _relaunch()
Browse files Browse the repository at this point in the history
  • Loading branch information
thiell committed May 22, 2024
1 parent 4e7103c commit f655de0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ClusterShell/Worker/Tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ def _relaunch(self, previous_gateway):
previous_gateway must be defined. However, it is not guaranteed that
the relaunch is going to be performed using gateways (that's a feature).
"""
targets = self.gwtargets[previous_gateway].copy()
targets = NodeSet.fromlist(self.gwtargets[previous_gateway])
self.logger.debug("_relaunch on targets %s from previous_gateway %s",
targets, previous_gateway)

Expand Down

0 comments on commit f655de0

Please sign in to comment.