Merge "Replace deprecated LOG.warn with LOG.warning"

This commit is contained in:
Jenkins
2016-01-06 04:05:03 +00:00
committed by Gerrit Code Review

View File

@@ -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: