diff options
author | Zuul <zuul@review.opendev.org> | 2022-09-16 18:04:48 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2022-09-16 18:04:48 +0000 |
commit | 79b7fa1ce1e4cb522651a249e3af320bd8d15974 (patch) | |
tree | 69de69f5fdac1a07278497f4c68250e8b2813afe | |
parent | e3c88efff71e97e3aefbfae731b0562f00800b54 (diff) | |
parent | 94c4eee52df279b7643f5ba6b74b66dbf53ead8e (diff) | |
download | cinder-79b7fa1ce1e4cb522651a249e3af320bd8d15974.tar.gz |
Merge "Fix a typo in cinder/volume/drivers/infinidat.py"
-rw-r--r-- | cinder/volume/drivers/infinidat.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cinder/volume/drivers/infinidat.py b/cinder/volume/drivers/infinidat.py index 009d0dc4a..68b988d4e 100644 --- a/cinder/volume/drivers/infinidat.py +++ b/cinder/volume/drivers/infinidat.py @@ -683,7 +683,7 @@ class InfiniboxVolumeDriver(san.SanISCSIDriver): return snapshot.safe_delete() - def _asssert_volume_not_mapped(self, volume): + def _assert_volume_not_mapped(self, volume): # copy is not atomic so we can't clone while the volume is mapped infinidat_volume = self._get_infinidat_volume(volume) if len(infinidat_volume.get_logical_units()) == 0: @@ -709,7 +709,7 @@ class InfiniboxVolumeDriver(san.SanISCSIDriver): * copy data from source to new volume * unmap both volumes """ - self._asssert_volume_not_mapped(src_vref) + self._assert_volume_not_mapped(src_vref) infinidat_volume = self._create_volume(volume) try: src_ctx = self._device_connect_context(src_vref) |