mirror of
https://gitlab.com/libvirt/libvirt-python.git
synced 2025-07-10 00:59:41 +03:00
Fix crash in storage pool refresh callback
Fixes copy-paste typo introduced by commit cb84e36c
.
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1354271
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
@ -580,7 +580,7 @@ def myStoragePoolEventLifecycleCallback(conn, pool, event, detail, opaque):
|
||||
storageEventToString(event),
|
||||
detail))
|
||||
|
||||
def myStoragePoolEventRefreshCallback(conn, pool, event, detail, opaque):
|
||||
def myStoragePoolEventRefreshCallback(conn, pool, opaque):
|
||||
print("myStoragePoolEventRefreshCallback: Storage pool %s" % pool.name())
|
||||
|
||||
##########################################################################
|
||||
|
@ -8862,7 +8862,7 @@ libvirt_virConnectStoragePoolEventGenericCallback(virConnectPtr conn ATTRIBUTE_U
|
||||
/* Call the Callback Dispatcher */
|
||||
pyobj_ret = PyObject_CallMethod(pyobj_conn,
|
||||
(char*)"_dispatchStoragePoolEventGenericCallback",
|
||||
(char*)"OiiO",
|
||||
(char*)"OO",
|
||||
pyobj_pool,
|
||||
pyobj_cbData);
|
||||
|
||||
|
Reference in New Issue
Block a user