From 748cfbe99719844e72e8281fe4fc58b963ec266c Mon Sep 17 00:00:00 2001 From: Youngjun Date: Wed, 13 Mar 2024 12:14:10 +0900 Subject: [PATCH] refectoring: remove duplicated key - Removed duplicate keys and values from the dictionary. Change-Id: I1027ec33f18dd504ada9939a80e49c6984680548 Signed-off-by: Youngjun --- rally_openstack/common/services/storage/cinder_v2.py | 1 - rally_openstack/common/services/storage/cinder_v3.py | 1 - 2 files changed, 2 deletions(-) diff --git a/rally_openstack/common/services/storage/cinder_v2.py b/rally_openstack/common/services/storage/cinder_v2.py index 32a0027d..8208e4c0 100755 --- a/rally_openstack/common/services/storage/cinder_v2.py +++ b/rally_openstack/common/services/storage/cinder_v2.py @@ -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) diff --git a/rally_openstack/common/services/storage/cinder_v3.py b/rally_openstack/common/services/storage/cinder_v3.py index 1ddb181b..7a44acef 100755 --- a/rally_openstack/common/services/storage/cinder_v3.py +++ b/rally_openstack/common/services/storage/cinder_v3.py @@ -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)