Merge "Replace deprecated LOG.warn with LOG.warning"
This commit is contained in:
@@ -149,8 +149,8 @@ class ISCSIExtension(base.BaseAgentExtension):
|
|||||||
try:
|
try:
|
||||||
rts_root = rtslib_fb.RTSRoot()
|
rts_root = rtslib_fb.RTSRoot()
|
||||||
except (EnvironmentError, rtslib_fb.RTSLibError) as exc:
|
except (EnvironmentError, rtslib_fb.RTSLibError) as exc:
|
||||||
LOG.warn('Linux-IO is not available, falling back to TGT. '
|
LOG.warning('Linux-IO is not available, falling back to TGT. '
|
||||||
'Error: %s.', exc)
|
'Error: %s.', exc)
|
||||||
rts_root = None
|
rts_root = None
|
||||||
|
|
||||||
if rts_root is None:
|
if rts_root is None:
|
||||||
|
Reference in New Issue
Block a user