cinder/cinder/volume/drivers/dell_emc/unity
Ryan Liang e704e83402 Unity: fail to detach lun when auto zone enabled
When the lun is the last one attached to the host and it is detached,
the attribute `host.host_luns` is None. Use `not` in if statement which
is pythonic in checking None and empty list of `host.host_luns`.

Change-Id: I5d8f63f9a78d001bc699af538f586aab8d73a5cf
Closes-bug: #1759175
(cherry picked from commit c816be897e)
(cherry picked from commit febe57cfee)
(cherry picked from commit ead818199e)
2019-01-16 15:53:00 +08:00
..
__init__.py Adds Unity Cinder Driver 2016-12-11 11:57:03 +08:00
adapter.py Unity: fail to detach lun when auto zone enabled 2019-01-16 15:53:00 +08:00
client.py [Unity] Add `force detach` support 2019-01-10 11:08:32 +08:00
driver.py Unity: fail to detach lun when auto zone enabled 2019-01-16 15:53:00 +08:00
utils.py Merge "Unity driver: check array OE version" into stable/ocata 2019-01-08 15:41:18 +00:00