pyocf: fix standby detach completion
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
This commit is contained in:
parent
640ee86663
commit
59227999da
@ -296,7 +296,7 @@ class Cache:
|
|||||||
|
|
||||||
def standby_detach(self):
|
def standby_detach(self):
|
||||||
self.write_lock()
|
self.write_lock()
|
||||||
c = OcfCompletion([("cache", c_void_p), ("priv", c_void_p), ("error", c_int)])
|
c = OcfCompletion([("priv", c_void_p), ("error", c_int)])
|
||||||
self.owner.lib.ocf_mngt_cache_standby_detach(self, c, None)
|
self.owner.lib.ocf_mngt_cache_standby_detach(self, c, None)
|
||||||
c.wait()
|
c.wait()
|
||||||
self.write_unlock()
|
self.write_unlock()
|
||||||
|
Loading…
Reference in New Issue
Block a user