cinder/cinder/zonemanager
Gorka Eguileor 122036638d Brocade: Fix lookup UnboundLocalError
If we get an exception when getting the southbound client in method
get_device_mapping_from_network we will end up seeing the following
error:

  UnboundLocalError: local variable 'conn' referenced before assignment

This patch fixes this issue by making sure that the conn variable exists
even if that call fails.

TrivialFix
Closes-Bug: #1888550
Change-Id: I621a00d34e9c2b14234e11e94857a39fe54a111f
2020-08-07 15:24:44 +02:00
..
drivers Brocade: Fix lookup UnboundLocalError 2020-08-07 15:24:44 +02:00
__init__.py Files with no code must be left completely empty 2016-09-28 16:29:30 +07:00
fc_common.py Add versioning output for the FC Zone Manager 2014-02-27 22:32:10 +00:00
fc_san_lookup_service.py Fix some format error in docstrings 2017-03-30 10:01:18 +08:00
fc_zone_manager.py Remove log translations 2017-03-19 14:59:57 +00:00
fczm_constants.py Adds friendly zone name support 2016-01-22 15:59:46 -08:00
utils.py Add empty check before using zone driver 2019-02-14 09:47:08 +08:00