cinder/cinder/volume/drivers/nec
Naoki Saito 39905d5df3 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)
(cherry picked from commit 7e98b66a17)
2020-10-08 01:05:55 +00:00
..
__init__.py
cli.py NEC Driver: Support revert to snapshot 2019-09-20 10:57:32 +09:00
product.xml NEC driver reads default_backends 2017-08-23 19:01:00 +09:00
volume.py NEC Driver: Storage assist retype and a bugfix 2019-09-24 15:14:35 +09:00
volume_common.py NEC driver: replace deprecated xml library 2019-11-28 00:10:38 +00:00
volume_helper.py NEC driver: fix a snapshot detach error 2020-10-08 01:05:55 +00:00