imagebackend: cleanup constructor args to Rbd
kwargs can never be used due to the way these objects are created. All constructor arguments need to be identical, so this is an anomaly. Change-Id: I278f71d5c4baaafcfc03746b981d32a8d570ddc5
This commit is contained in:
parent
ea669d3488
commit
a285996c48
|
@ -789,7 +789,7 @@ class Rbd(Image):
|
|||
|
||||
SUPPORTS_CLONE = True
|
||||
|
||||
def __init__(self, instance=None, disk_name=None, path=None, **kwargs):
|
||||
def __init__(self, instance=None, disk_name=None, path=None):
|
||||
if not CONF.libvirt.images_rbd_pool:
|
||||
raise RuntimeError(_('You should specify'
|
||||
' images_rbd_pool'
|
||||
|
|
Loading…
Reference in New Issue