pyocf: fix standby detach completion

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
This commit is contained in:
Michael Lyulko 2023-02-19 14:59:34 +02:00 committed by Michal Mielewczyk
parent 640ee86663
commit 59227999da

View File

@ -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()