summarylogtreecommitdiffstats
path: root/0001-use-cinderclient-v3.patch
diff options
context:
space:
mode:
authorBigfootACA2021-09-08 04:34:19 +0800
committerBigfootACA2021-09-08 04:34:19 +0800
commit0d4310761e81c1c7f3771f65dd4dc554c4927ebc (patch)
treea3b9f72d2288852827532be32e7b00815b0510fd /0001-use-cinderclient-v3.patch
parenta08079255a08b36cbaad6448418027b990955edf (diff)
downloadaur-openstack-nova.tar.gz
fix checkdeps python-mypy and enable check
Diffstat (limited to '0001-use-cinderclient-v3.patch')
-rw-r--r--0001-use-cinderclient-v3.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/0001-use-cinderclient-v3.patch b/0001-use-cinderclient-v3.patch
new file mode 100644
index 000000000000..f19d7b9e91ee
--- /dev/null
+++ b/0001-use-cinderclient-v3.patch
@@ -0,0 +1,13 @@
+diff --git a/nova-23.0.2/nova/tests/unit/volume/test_cinder.py b/nova-23.0.2/nova/tests/unit/volume/test_cinder.py
+index 0d53ab2..8c4eb2c 100644
+--- a/nova-23.0.2/nova/tests/unit/volume/test_cinder.py
++++ b/nova-23.0.2/nova/tests/unit/volume/test_cinder.py
+@@ -16,7 +16,7 @@
+ from cinderclient import api_versions as cinder_api_versions
+ from cinderclient import apiclient as cinder_apiclient
+ from cinderclient import exceptions as cinder_exception
+-from cinderclient.v2 import limits as cinder_limits
++from cinderclient.v3 import limits as cinder_limits
+ from keystoneauth1 import loading as ks_loading
+ from keystoneauth1 import session
+ from keystoneclient import exceptions as keystone_exception