cinder/cinder/tests/unit/volume/drivers/nec
Naoki Saito 7e98b66a17 NEC driver: fix a snapshot detach error
In NEC driver, _fc_terminate_connection() refers to
Volume.volume_attachment of an argument.
However, the argument is a snapshot object when a snapshot is being
detached.
The snapshot object does not have the "volume_attachment" attribute.

This patch avoids referring to the "volume_attachment" attribute when
the argument is a snapshot.

Change-Id: Ibc5fa0901ae9c0766f98d623357bade266598bff
Closes-Bug: #1887885
(cherry picked from commit 6e8dd2f0c0)
2020-09-19 03:41:56 +00:00
..
__init__.py Add cinder volume drivers for NEC Storage M series 2016-12-14 17:45:17 +09:00
test_volume.py NEC driver: fix a snapshot detach error 2020-09-19 03:41:56 +00:00