refectoring: remove duplicated key
- Removed duplicate keys and values from the dictionary. Change-Id: I1027ec33f18dd504ada9939a80e49c6984680548 Signed-off-by: Youngjun <yj.yoo@okestro.com>
This commit is contained in:
parent
2c05430515
commit
748cfbe997
@ -155,7 +155,6 @@ class CinderV2Service(service.Service, cinder_common.CinderMixin):
|
||||
"description": description,
|
||||
"container": container,
|
||||
"incremental": incremental,
|
||||
"force": force,
|
||||
"snapshot_id": snapshot_id}
|
||||
backup = self._get_client().backups.create(volume_id, **kwargs)
|
||||
return self._wait_available_volume(backup)
|
||||
|
@ -157,7 +157,6 @@ class CinderV3Service(service.Service, cinder_common.CinderMixin):
|
||||
"description": description,
|
||||
"container": container,
|
||||
"incremental": incremental,
|
||||
"force": force,
|
||||
"snapshot_id": snapshot_id}
|
||||
backup = self._get_client().backups.create(volume_id, **kwargs)
|
||||
return self._wait_available_volume(backup)
|
||||
|
Loading…
x
Reference in New Issue
Block a user