Revision 5ed4c956 lib/cmdlib.py
b/lib/cmdlib.py | ||
---|---|---|
6475 | 6475 |
if len(self.lu.tasklets) == 1: |
6476 | 6476 |
# It is safe to release locks only when we're the only tasklet |
6477 | 6477 |
# in the LU |
6478 |
_ReleaseLocks(self, locking.LEVEL_NODE, |
|
6478 |
_ReleaseLocks(self.lu, locking.LEVEL_NODE,
|
|
6479 | 6479 |
keep=[instance.primary_node, self.target_node]) |
6480 | 6480 |
|
6481 | 6481 |
else: |
Also available in: Unified diff