Replace deprecated LOG.warn with LOG.warning
Change-Id: I0ca31eac70afaccda73e7819c582af0b226b8442 Closes-Bug: #1508442
This commit is contained in:
parent
475fe9e638
commit
dcdb06d812
|
@ -149,8 +149,8 @@ class ISCSIExtension(base.BaseAgentExtension):
|
|||
try:
|
||||
rts_root = rtslib_fb.RTSRoot()
|
||||
except (EnvironmentError, rtslib_fb.RTSLibError) as exc:
|
||||
LOG.warn('Linux-IO is not available, falling back to TGT. '
|
||||
'Error: %s.', exc)
|
||||
LOG.warning('Linux-IO is not available, falling back to TGT. '
|
||||
'Error: %s.', exc)
|
||||
rts_root = None
|
||||
|
||||
if rts_root is None:
|
||||
|
|
Loading…
Reference in New Issue