mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
Add missing parameter in python Disk IO error callback
The IO error callback was forgetting to pass the action parameter, causing a stack trace when IO errors arrive * python/libvirt-override-virConnect.py: Add missing action parameter in IO error callback
This commit is contained in:
parent
7d02393b1b
commit
a711633909
@ -94,7 +94,7 @@
|
||||
cb = cbData["cb"]
|
||||
opaque = cbData["opaque"]
|
||||
|
||||
cb(self, virDomain(self, _obj=dom), srcPath, devAlias, opaque)
|
||||
cb(self, virDomain(self, _obj=dom), srcPath, devAlias, action, opaque)
|
||||
return 0
|
||||
except AttributeError:
|
||||
pass
|
||||
|
Loading…
Reference in New Issue
Block a user