Fixed cluster lock acquisition parameter error

This commit is contained in:
tengqm 2015-02-04 11:08:48 +08:00
parent 9b6a25159a
commit aef46ac7e5

View File

@ -348,7 +348,7 @@ class ClusterAction(base.Action):
steal_lock = True
# Try to lock cluster before do real action
res = senlin_lock.cluster_lock_acquire(cluster.id, self.id,
res = senlin_lock.cluster_lock_acquire(cluster.id, self,
senlin_lock.CLUSTER_SCOPE,
steal_lock)
if not res: