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:
Matthew Booth 2017-08-03 15:22:38 +01:00
parent ea669d3488
commit a285996c48
1 changed files with 1 additions and 1 deletions

View File

@ -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'